Transparent CSS Device Windows - Browser, Tablet, Mobile
How do I make an transparent css device windows - browser, tablet, mobile?
What is a transparent css device windows - browser, tablet, mobile? How do you make a transparent css device windows - browser, tablet, mobile? This script and codes were developed by Kristen Zirkler on 16 October 2022, Sunday.
Transparent CSS Device Windows - Browser, Tablet, Mobile - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Transparent CSS Device Windows - Browser, Tablet, Mobile</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="demo"> <div class="device-window browser"> <span><img src="http://placehold.it/800x550/41A9D9/ffffff" /></span> </div> <div class="device-window tablet"> <span><img src="http://placehold.it/440x675/41A9D9/ffffff" /></span> </div> <div class="device-window mobile"> <span><img src="http://placehold.it/200x370/41A9D9/ffffff" /></span> </div>
</div>
</body>
</html>
Transparent CSS Device Windows - Browser, Tablet, Mobile - Script Codes CSS Codes
.device-window { background: rgba(255, 255, 255, 0.4); border: 4px solid #fff; position: relative;
}
.device-window span { background: #000; display: block; position: absolute; top: 30px; bottom: 0; left: 0; right: 0; overflow: hidden;
}
.device-window span img { width: 100%;
}
.device-window:before, .device-window:after { background: rgba(255, 255, 255, 0.4); border: 1px solid #fff; position: absolute;
}
.tablet { width: 440px; height: 675px; border-radius: 30px;
}
.tablet:before { width: 5px; height: 5px; content: ' '; border-radius: 50%; top: 20px; left: 218px;
}
.tablet:after { width: 30px; height: 30px; content: ' '; border-radius: 50%; bottom: 10px; left: 205px;
}
.tablet span { top: 40px; left: 10px; right: 10px; bottom: 55px;
}
.mobile { width: 200px; height: 370px; border-radius: 20px;
}
.mobile:before { width: 5px; height: 5px; content: ' '; border-radius: 50%; top: 15px; left: 96px;
}
.mobile:after { width: 30px; height: 30px; content: ' '; border-radius: 50%; bottom: 8px; left: 85px;
}
.mobile span { top: 35px; left: 10px; right: 10px; bottom: 50px;
}
.browser { width: 800px; height: 550px; border-radius: 10px;
}
.browser:after, .browser:before { width: 7px; height: 7px; top: 10px; content: ' '; border-radius: 50%;
}
.browser:before { left: 10px;
}
.browser:after { left: 25px;
}
.browser span { top: 30px; border-radius: 0 0 9px 9px; /* one less than parent */
}
body { background-color: #333;
}
body:after { content: ' '; position: fixed; top: 0; bottom: 0; left: 0; right: 0; z-index: -1; background: linear-gradient(135deg, #4d4d4d 25%, transparent 25%) -50px 0, linear-gradient(225deg, #4d4d4d 25%, transparent 25%) -50px 0, linear-gradient(315deg, #4d4d4d 25%, transparent 25%), linear-gradient(45deg, #4d4d4d 25%, transparent 25%); background-size: 100px 100px; background-color: #333;
}
.demo .device-window { margin: 1em auto;
}
Developer | Kristen Zirkler |
Username | kristenzirkler |
Uploaded | October 16, 2022 |
Rating | 3 |
Size | 2,783 Kb |
Views | 20,240 |
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 |
Full Page Intro Slide with Content | 4,477 Kb |
CSS Loader | 3,006 Kb |
Tablet Navigation - Jobing.com | 6,043 Kb |
Map Animation | 5,777 Kb |
KZ Line Draw - SVG animation | 2,850 Kb |
Email Marketing Mock | 8,224 Kb |
Animated Photo | 2,349 Kb |
Responsive Grid List | 5,056 Kb |
Simple - Blurred BG | 2,417 Kb |
Company Profile - Jobing.com Mock | 6,810 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 |
Two joint circles - One element | Berdejitendra | 1,704 Kb |
BabyStore | Pablo-Ai | 3,807 Kb |
CSS3 Media Queries demo | Machal | 1,824 Kb |
CSS3 keyframe onload animation. | Samueljseay | 1,706 Kb |
Responsive Advert | James_zedd | 2,354 Kb |
Snow collision | Wojtek1150 | 3,542 Kb |
CSS only simple parallax scroll | Stanssongs | 3,708 Kb |
Learning canvas drawing | Aurer | 2,204 Kb |
Slider | Mohammed-fawzy | 2,634 Kb |
Medium Menu | Lucasmotta | 3,923 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!