Notes
HTML
CSS
JS
Tools
Code Snippets
HTML Entity
About
Contact Us
WhatsApp Logo Using HTML and CSS
HTML
CSS
JS
Output
HTML
<!DOCTYPE html> <html> <head> <title>WhatsApp Logo Using HTML and CSS</title> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css"> </head> <body> <div> <h1 class="main-heading">WhatsApp Logo Using HTML and CSS</h1> <div class="white-area-div whatsapp-common-div"> <div class="whatsapp-common-div"> <i class="fas fa-phone"></i> </div> </div> </div> </body> </html>
Copied
<!DOCTYPE html> <html> <head> <title>WhatsApp Logo Using HTML and CSS</title> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css"> </head> <body> <div> <h1 class="main-heading">WhatsApp Logo Using HTML and CSS</h1> <div class="white-area-div whatsapp-common-div"> <div class="whatsapp-common-div"> <i class="fas fa-phone"></i> </div> </div> </div> </body> </html>
CSS
body { width: 100vw; height: 100vh; overflow: hidden; background: lightblue; } .main-heading { color: rgb(6, 2, 114); text-align: center; padding: 3rem; } .whatsapp-common-div{ width: 70px; height: 70px; border-radius: 35px; background: #3AC371; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); } .white-area-div{ width: 80px; height: 80px; border-radius: 40px; background-color: #fff; box-shadow: 2px 2px 3px 2px rgba(0,0,0,.3); } .white-area-div::before{ content: ""; top: 65px; left: -15px; border-width: 20px; border-style: solid; border-color: transparent #fff transparent transparent; position: absolute; transform: rotate(-50deg) rotateX(-55deg); } .white-area-div::after{ content: ""; top: 63px; left: -4px; border-width: 15px; border-style: solid; border-color: transparent #3AC371 transparent transparent; position: absolute; transform: rotate(-51deg) rotateX(-50deg); } .fas{ left: 17px; top: 18px; position: absolute; font-size: 35px; color: #fff; transform: rotate(90deg); }
Copied
body { width: 100vw; height: 100vh; overflow: hidden; background: lightblue; } .main-heading { color: rgb(6, 2, 114); text-align: center; padding: 3rem; } .whatsapp-common-div{ width: 70px; height: 70px; border-radius: 35px; background: #3AC371; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); } .white-area-div{ width: 80px; height: 80px; border-radius: 40px; background-color: #fff; box-shadow: 2px 2px 3px 2px rgba(0,0,0,.3); } .white-area-div::before{ content: ""; top: 65px; left: -15px; border-width: 20px; border-style: solid; border-color: transparent #fff transparent transparent; position: absolute; transform: rotate(-50deg) rotateX(-55deg); } .white-area-div::after{ content: ""; top: 63px; left: -4px; border-width: 15px; border-style: solid; border-color: transparent #3AC371 transparent transparent; position: absolute; transform: rotate(-51deg) rotateX(-50deg); } .fas{ left: 17px; top: 18px; position: absolute; font-size: 35px; color: #fff; transform: rotate(90deg); }
JS
Copied
Output
Our Courses
HTML 5
CSS
JavaScript
MySql
PHP
Laravel
Bootstrap
Programming Tutorial
PHP
JavaScript
HTML
Laravel
MySQL
JQuery
CSS
Git
Bootstrap
Vue JS
Android
Python
Server
Code Snippets
Chat Box
Range Slider
Radio Button
Select Box
Nav Bar
Other
Testimonial
Carousel
Logo
Loader
Lightbox
Forms
Popup
Table
HTML Course Code
HTML Entity
↑→ Arrows
$¢ Currency
Aö Letters
%+ Math
1¾ Numbers
&— Punctuation
©™ Symbols
Best Of
Internet
Technology
Health
Travel
Onine Tools
CSS Minifier
Text Converter
Age Calculator
Pincode Details
Whiteboard
PDF to Text
Gradient Generator
PX to REM Converter
REM to PX Converter
PX to EM Converter
EM to PX Converter
WEBP Converter
Latest & Upcoming movies
Bollywood
Hollywood
Tamil
Telgu
Bangla
Web Series
Notes
HTML
CSS
JS