Pure CSS Responsive iCons
How do I make an pure css responsive icons?
Attempt to create responsive icons, inspired by Zurb Foundation Illustration. . What is a pure css responsive icons? How do you make a pure css responsive icons? This script and codes were developed by Tom Hergenreter on 17 October 2022, Monday.
Pure CSS Responsive iCons - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Pure CSS Responsive iCons</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="container"> <!--iphone--> <div class="iphone"> <div class="grid"></div> </div> <!--ipad--> <div class="ipad"> <div class="grid"></div> </div> <!--monitor--> <div class="monitor"> <div class="grid"></div> </div>
</div> <script src="js/index.js"></script>
</body>
</html>
Pure CSS Responsive iCons - Script Codes CSS Codes
* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}
.container { width: 716px; margin: 0 auto; position: relative; margin-top: 50px;
}
body { background-color: #444; font-size: 1.6em;
}
h1 { font: normal 1.5em/2em "Helvetica"; color: white; clear: both; margin: 0 auto;
}
/*iphone*/
.iphone { position: relative; width: 3.5em; height: 5.5em; background-color: #fff; border-radius: .2em; border: .3em solid #222; border-top-width: .7em; border-bottom-width: .7em; margin: 128px 20px 0px 0px; float: left; /*earpiece*/ /*home-button*/
}
.iphone:before { content: ""; position: absolute; left: 1.3em; top: -.4em; width: .4em; height: .1em; background-color: #fff; border-radius: 50%;
}
.iphone:after { content: ""; position: absolute; bottom: -.5em; width: .3em; height: .3em; left: 1.35em; border-radius: 50%; background-color: #fff;
}
.iphone .grid, .iphone .grid:before, .iphone .grid:after { width: 90%; height: 1.15em; margin: 0 auto; margin-top: 7%; background-color: #ff8b4d;
}
.iphone .grid:before { content: ""; position: absolute; top: 1.3em;
}
.iphone .grid:after { content: ""; position: absolute; top: 2.6em;
}
/*ipad*/
.ipad { position: relative; width: 8em; height: 10.5em; background-color: #fff; margin: 0 auto; border-radius: .2em; border: .8em solid #222; float: left; margin-right: 20px; /*camera*/ /*home-button*/
}
.ipad:before { content: ""; position: absolute; left: 3.15em; top: -.5em; width: .2em; height: .2em; background-color: #fff; border-radius: 50%;
}
.ipad:after { content: ""; position: absolute; bottom: -.55em; width: .3em; height: .3em; left: 3.1em; border-radius: 50%; background-color: #fff; z-index: 20;
}
.ipad .grid, .ipad .grid:before, .ipad .grid:after { width: 95%; height: 2.75em; margin: 0 auto; margin-top: 2.75%; background-color: #ff8b4d;
}
.ipad .grid:before { content: ""; position: absolute; top: 2.89em;
}
.ipad .grid:after { content: ""; position: absolute; top: 5.8em;
}
/*monitor*/
.monitor { position: relative; width: 14em; height: 9.5em; background-color: #fff; margin: 0 auto; border-radius: .2em; border: .8em solid #222; float: left; /*base*/ /*stand*/
}
.monitor:before { content: ""; position: absolute; left: 4.15em; bottom: -1.8em; width: 4em; height: .2em; background-color: #222;
}
.monitor:after { content: ""; position: absolute; bottom: -1.78em; width: 3em; height: 1em; left: 4.65em; background-color: #222;
}
.monitor .grid, .monitor .grid:before, .monitor .grid:after { width: 97%; height: 3.55em; margin: 0 auto; margin-top: 2.3%; background-color: #ff8b4d;
}
.monitor .grid:before { content: ""; position: absolute; top: 3.95em; width: 47%;
}
.monitor .grid:after { content: ""; position: absolute; top: 3.95em; left: 6.4em; width: 47%;
}
Pure CSS Responsive iCons - Script Codes JS Codes
/* Icons can be resized by changing font-size property in body slector */
Developer | Tom Hergenreter |
Username | TomHergenreter |
Uploaded | October 17, 2022 |
Rating | 4.5 |
Size | 3,198 Kb |
Views | 16,192 |
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 |
Responsive Gallery | 2,205 Kb |
Toronto 3D | 2,089 Kb |
Flat, Scaleable CSS iPhone Illustration | 2,729 Kb |
Colorado Badge | 2,490 Kb |
CSS Paper Navigation Menu | 3,150 Kb |
Image Caption Reveal | 2,325 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 |
Simple blog concept | Drew_mc | 2,666 Kb |
Prism | Pyrografix | 2,843 Kb |
Typefaces with descriptions | Megandoty | 2,944 Kb |
A Pen by utcwebdev | Utcwebdev | 2,856 Kb |
DFF Website | Hawcubite | 10,123 Kb |
Bootstrap 3 Price Table | Honglio | 2,655 Kb |
Amazing CSS Menu with Notification Badges | Faizanasad | 2,549 Kb |
Transitioning application screens with semantically named classes | Djgrant | 3,697 Kb |
JQuery FullScreen Overlay | _codemics | 2,252 Kb |
CSS3 Diamond | Rendro | 1,960 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!