Files
icons/css/gift.css

52 lines
923 B
CSS

@charset "UTF-8";
i.icon.gift {
position: relative;
margin-top: 8px;
width: 22px;
height: 14px;
box-sizing: border-box;
display: block;
border: 2px solid transparent;
background:
linear-gradient(to left, currentColor 10px, transparent 0),
linear-gradient(to left, currentColor 10px, transparent 0),
linear-gradient(to left, currentColor 10px, transparent 0);
background-position:
8px 0,
18px -8px,
-2px -8px;
background-repeat: no-repeat;
background-size:
2px 10px,
2px 10px,
2px 10px;
box-shadow:
inset 2px 0 0,
inset -2px 0 0,
0 -2px 0,
inset 0 2px 0,
inset 0 -2px 0;
&::after,
&::before {
position: absolute;
top: -10px;
content: "";
width: 6px;
height: 8px;
box-sizing: border-box;
display: block;
border-radius: 3px;
border: 2px solid;
}
&::after {
left: 3px;
transform: rotate(-45deg);
}
&::before {
right: 3px;
transform: rotate(45deg);
}
}