Html Code /
<div class="heart-shape"></div>
Css Code/
.heart-shape{
position: relative;
width: 200px;
height: 200px;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
background-color: rgba(250,184,66, 1);
}
.heart-shape:before,
.heart-shape:after{
position: absolute;
width: 200px;
height: 200px;
content: '';
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
-o-border-radius: 50%;
border-radius: 50%;
background-color: rgba(250,184,66, 1);
}
.heart-shape:before{
bottom: 0px;
left: -100px;
}
.heart-shape:after{
top: -100px;
right: 0px;
}
Code Example |
---|
Css :: tailwind npm |
Css :: auto zoom image css |
Css :: padding css 3 values |
Css :: select first 5 child css |
Css :: nativescript hr |
Css :: set css on parent element css |
Css :: what is the opacity of disabled text |
Css :: vertical center before css |
Css :: remove black border css |
Css :: css blur overlay |
Css :: css stop text wrapping |
Css :: css flex justify self |
Css :: how to insert icons pseudo content |
Css :: scss color loop |
Css :: css toggle switch |
Css :: nmap output ip only |
Css :: absolute positioning css |
Css :: scroll div when page scroll |
Css :: choose grid position html |
Css :: css color codes |
Css :: how to disable site anchor |
Css :: insert on positions CSS |
Css :: css good line height |
Css :: promise.resolve |
Css :: Loop Over Array of Objects and Combine them if they have similar keys |
Css :: Deployer custom Options |
Css :: css click through after |
Css :: materialize css icons |
Css :: tailwind transition |
Css :: remove unused css styles |