css stroke attribute refers to the border-style attribute, which is used to set the style of all borders of an element, or to set the border style for each side individually. The code syntax is such as "border-style: dotted solid double dashed ;".
Recommendation: "css video tutorial"
border-style
attribute is used to set Style the entire border of an element, or set the border style for each side individually.
The border may appear only when this value is not none.
Example 1
border-style:dotted solid double dashed;
The upper border is dotted
The right border is a solid line
The lower border is a double line
The left border It is a dotted line
Example 2
border-style:dotted solid double;
The upper border is dotted
The right border and left border are solid lines
The lower border is a double line
Example 3
border-style:dotted solid;
The upper and lower borders are dotted
The right and left borders are solid lines
Example 4
border-style:dotted;
All The 4 borders are dotted
The above is the detailed content of What is the css stroke attribute?. For more information, please follow other related articles on the PHP Chinese website!