The code is as follows:
. Stitched{padding:20px;margin:10px;background:#ff0030;Color:#fff;font-size:21px;Font-weight:Bold;Line-height:1.3em;Border:2px Dashed #fff;Border-radius:10px;Box-shadow:0 0 0 4px #ff0030, 2px 1px 6px 4px Rgba (Ten, 0, 0.5);Text-shadow:-1px-1px #aa3030;Font-weight:Normal;}
The effect is as follows:
Knowledge Points: Border-radius + Box-shadow to achieve.
Box-shadow:inset x-offset y-offset Blur-radius spread-radius color.
Inset: Turns the outer shadow into an inner shadow
X-offset: Shadow Horizontal Offset
Y-offset: Vertical offset of shadow
shadow Blur radius: This parameter is optional, but its value can only be positive, and if its value is 0 o'clock, indicates that the shadow does not have a blur effect, the greater the value of the shadow the more blurred the edge;
Shadow Expansion radius: This parameter is optional, its value can be positive negative, if the value is positive, the entire shadow expands, and the inverse value is negative, then shrinks.
CSS stitched implementation effect