Simple Heart
How do I make an simple heart?
What is a simple heart? How do you make a simple heart? This script and codes were developed by Eliseo Martelli on 12 October 2022, Wednesday.
Simple Heart - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Simple Heart </title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="heart"> <div class="left circle"></div> <div class="right circle"></div> <div class="tip"></div>
</div>
</body>
</html>
Simple Heart - Script Codes CSS Codes
:root { --bg: #333451; --heart-color: #FF1744; --heart-distance: 10px;
}
body { background: var(--bg);
}
.heart { position: absolute; width: calc(50px*2 - var(--heart-distance)); height: auto; left: 50%; top: 50%; cursor: pointer; -webkit-transform: translateX(-50%) translateY(-50%); transform: translateX(-50%) translateY(-50%);
}
.heart:hover { --heart-color: red;
}
.circle { position: absolute; width: 50px; height: 50px; border-radius: 50%; background: var(--heart-color);
}
.right { margin-left: calc(50px - var(--heart-distance));
}
.tip { position: relative; width: 50px; height: 50px; margin: 0 auto; background: var(--heart-color); -webkit-transform: rotate(45deg); transform: rotate(45deg); margin-top: calc(50px - var(--heart-distance)/.334); margin-bottom: var(--heart-distance);
}
Developer | Eliseo Martelli |
Username | eliseomartelli |
Uploaded | October 12, 2022 |
Rating | 3 |
Size | 1,852 Kb |
Views | 10,120 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
A Pen by Eliseo Martelli | 1,708 Kb |
Cute Terminal | 2,392 Kb |
Checkbox | 1,712 Kb |
Google Dots Animation | 2,241 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
CardMove | Thompsonemerson | 3,699 Kb |
CSS-Flexbox-Demo | Sstiglets | 1,709 Kb |
CSS- UI Element States Pseudo-Classes | Tesla809 | 2,206 Kb |
React JS Movie Info App | MTushar | 4,870 Kb |
Wikipedia API | Coderpilot | 2,802 Kb |
Javascript Welcome | Peterlewicki | 1,573 Kb |
Sencha Touch 2.3.1 Basic Grid Example | Trozdol | 2,770 Kb |
Loading animation | Codeams | 2,408 Kb |
Spilled Paint | Darrylhuffman | 3,894 Kb |
CSS Tooltips | Darylldoyle | 2,599 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!