Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css heart

<style>
.heart::before,
.heart::after {
    content : '';
    display: block;
    width: 400px;
    height: 400px;
    background-color: red;
    border-radius: 50%;
    position: absolute;
}
.heart {
    margin: 200px;
    width: 400px;
    height: 400px;
    background-color: red;
    transform: rotate(45deg);
    position: relative;
}
.heart::before {
    top: -200px;
    left: 0;
}
.heart::after {
    top: 0;
    left: -200px;
}     
</style>
<div class="wrapper">
    <div class="heart"></div>
</div>    
 
PREVIOUS NEXT
Tagged: #css #heart
ADD COMMENT
Topic
Name
8+8 =