Specification test cases
The test cases below are imported from the Turbo CSS specification.
They have been executed upon loading this page.
Set stroke width to 1px without specifying the px unit.
t1 stroke-1
.t1.stroke-1 {
stroke-width: 1px;
}
Set stroke width to 1px with specifying the px unit.
t1 stroke-1px
.t1.stroke-1px {
stroke-width: 1px;
}
Set stroke width to 5% of the SVG element.
t1 stroke-5%
.t1.stroke-5\% {
stroke-width: 5%;
}