mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-18 17:30:10 +00:00
34e15566e3
From the css docs at http://www.w3.org/TR/CSS2/box.html: 8.5.1 Border width: 'border-top-width', 'border-right-width', 'border-bottom-width', 'border-left-width', and 'border-width' Computed value: absolute length; '0' if the border style is 'none' or 'hidden' So, if i specify border-style none and a border-width > 0 that should give the same result as border-width 0.
20 lines
260 B
CSS
20 lines
260 B
CSS
* {
|
|
border-color: red;
|
|
border-image: none;
|
|
background-image: none;
|
|
}
|
|
|
|
GtkButton {
|
|
background-color: purple;
|
|
border-style: none;
|
|
border-width: 5;
|
|
border-radius: 15;
|
|
}
|
|
|
|
#reference {
|
|
border-style: solid;
|
|
border-width: 0;
|
|
border-radius: 15;
|
|
}
|
|
|