Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法像这张图片一样在css中编码?透明填充,蓝色描边边框,居中文本。对不起我的英语不好。
尝试使用fx-border-colorandfx-stroke-dash-array创建虚线边框。
fx-border-color
fx-stroke-dash-array
例如,
-fx-border-color: deepskyblue; -fx-fill: transparent; -fx-stroke-dash-array: 10 10; -fx-text-alignment: center;