Loading...
xxxxxxxxxx
<svg viewBox="45 60 400 320" xmlns="http://www.w3.org/2000/svg">
<path fill="#fff" d="M 90 210 C 90 180 90 150 90 150 C 150 150 180 150 180 150 C 180 150 300 150 300 150 C 300 150 330 150 390 150 C 390 150 390 180 390 210 C 390 240 390 270 390 270 C 330 270 300 270 300 270 C 300 270 180 270 180 270 C 180 270 150 270 90 270 C 90 270 90 240 90 210" mask="url(#knockout-text)" >
</path>
<mask id="knockout-text">
<rect width="100%" height="100%" fill="#fff" x="0" y="0" />
<text x="147" y="227" fill="#000">BUTTON</text>
</mask>
</svg>
<!--- M 90 210 C 90 180 90 150 150 150 C 150 150 180 150 180 150 C 180 150 300 150 300 150 C 300 150 330 150 330 150 C 390 150 390 180 390 210 C 390 240 390 270 330 270 C 330 270 300 270 300 270 C 300 270 180 270 180 270 C 180 270 150 270 150 270 C 90 270 90 240 90 210 --->
xxxxxxxxxx
d: path("M 90 210 C 90 180 110 160 130 160 C 160 160 180 140 200 130 C 230 120 270 100 290 140 C 310 170 340 100 360 140 C 370 160 390 180 390 210 C 390 240 380 290 350 280 C 330 270 300 280 280 290 C 260 300 230 300 220 290 C 200 270 160 310 140 280 C 130 260 90 240 90 210 ");
@import url("https://fonts.googleapis.com/css?family=Raleway:900");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-image: url(https://images.unsplash.com/photo-1519501025264-65ba15a82390?w=1600);
background-size: cover;
background-position: 50% 50%;
min-height: 100vh;
font-family: Raleway, serif;
}
body:after {
content: "";
width: 100%;
height: 100%;
position: fixed;
background: rgba(0, 0, 0, 0.2);
z-index: 1;
}
svg {
xxxxxxxxxx
Comments (0)