Main Page: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 23: | Line 23: | ||
align-items: center; | align-items: center; | ||
} | } | ||
.box-cherrybutton { | |||
position: relative; | |||
display: inline-block; | |||
} | |||
.box-cherrybutton::after { | |||
--px: 4px; | |||
content: ""; | |||
position: absolute; | |||
bottom: calc(var(--px) * -4); | |||
left: 50%; | |||
transform: translateX(-50%); | |||
width: calc(var(--px) * 18); | |||
height: calc(var(--px) * 5); | |||
background: rgba(0, 0, 0, 0.65); | |||
z-index: -1; | |||
clip-path: polygon( | |||
22.22% 0%, 77.78% 0%, | |||
77.78% 20%, 88.89% 20%, | |||
88.89% 40%, 100% 40%, | |||
100% 60%, 88.89% 60%, | |||
88.89% 80%, 77.78% 80%, | |||
77.78% 100%, 22.22% 100%, | |||
22.22% 80%, 11.11% 80%, | |||
11.11% 60%, 0% 60%, | |||
0% 40%, 11.11% 40%, | |||
11.11% 20%, 22.22% 20% | |||
); | |||
} | |||
.box-cherrybutton { | .box-cherrybutton { | ||
image-rendering: pixelated; | image-rendering: pixelated; | ||