Pure CSS bread-loaf carousel
How do I make an pure css bread-loaf carousel?
Because who needs slideshow anyway?. What is a pure css bread-loaf carousel? How do you make a pure css bread-loaf carousel? This script and codes were developed by Antonija Simic on 28 September 2022, Wednesday.
Pure CSS bread-loaf carousel - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Pure CSS bread-loaf carousel</title> <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="container"> <h1>Text</h1> <div class="block"> <div class="p-container"> <p class="img-p"> Lorem ipsum dolor sit amet, consectetur adipisicing elit. Non fuga, vero ea enim. Nemo voluptas culpa temporibus eius quae sunt. </p> </div> </div> <!-- block --> <div class="block"> <div class="p-container"> <p class="img-p"> Lorem ipsum dolor sit amet, consectetur adipisicing elit. Non fuga, vero ea enim. Nemo voluptas culpa temporibus eius quae sunt. </p> </div> </div> <!-- block --> <div class="block"> <div class="p-container"> <p class="img-p"> Lorem ipsum dolor sit amet, consectetur adipisicing elit. Non fuga, vero ea enim. Nemo voluptas culpa temporibus eius quae sunt. </p> </div> </div> <!-- block --> <div class="block"> <div class="p-container"> <p class="img-p"> Lorem ipsum dolor sit amet, consectetur adipisicing elit. Non fuga, vero ea enim. Nemo voluptas culpa temporibus eius quae sunt. </p> </div> </div> <!-- block --> <div class="block"> <div class="p-container"> <p class="img-p"> Lorem ipsum dolor sit amet, consectetur adipisicing elit. Non fuga, vero ea enim. Nemo voluptas culpa temporibus eius quae sunt. </p> </div> </div> <!-- block -->
</div>
<div class="container"> <h1>Images</h1> <div class="block image"> <div class="layer"></div> <div class="p-container"> <p class="img-p"> Lorem ipsum dolor sit amet, consectetur adipisicing elit. Non fuga, vero ea enim. Nemo voluptas culpa temporibus eius quae sunt. </p> </div> </div> <!-- block --> <div class="block image"> <div class="layer"></div> <div class="p-container"> <p class="img-p"> Lorem ipsum dolor sit amet, consectetur adipisicing elit. Non fuga, vero ea enim. Nemo voluptas culpa temporibus eius quae sunt. </p> </div> </div> <!-- block --> <div class="block image"> <div class="layer"></div> <div class="p-container"> <p class="img-p"> Lorem ipsum dolor sit amet, consectetur adipisicing elit. Non fuga, vero ea enim. Nemo voluptas culpa temporibus eius quae sunt. </p> </div> </div> <!-- block --> <div class="block image"> <div class="layer"></div> <div class="p-container"> <p class="img-p"> Lorem ipsum dolor sit amet, consectetur adipisicing elit. Non fuga, vero ea enim. Nemo voluptas culpa temporibus eius quae sunt. </p> </div> </div> <!-- block --> <div class="block image"> <div class="layer"></div> <div class="p-container"> <p class="img-p"> Lorem ipsum dolor sit amet, consectetur adipisicing elit. Non fuga, vero ea enim. Nemo voluptas culpa temporibus eius quae sunt. </p> </div> </div> <!-- block -->
</div>
<!-- container -->
<a href="https://codepen.io/tonkec" class="ua" target="_blank"> <i class="fa fa-user"></i></a>
</body>
</html>
Pure CSS bread-loaf carousel - Script Codes CSS Codes
html, body { @import url(https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,300italic,700); padding: 0; margin: 0; width: 100%; height: 100%; background-color: #2B2D42; font-family: 'Open Sans Condensed', sans-serif; } .container { position: relative; margin-top: 100px; width: 100%; text-align: center; } .block { width: 10%; height: 300px; display: inline-block; background-color: #E83F6F; cursor: pointer; position: relative; -webkit-transition: width .5s ease-in-out, background-color .5s ease-in-out; -moz-transition: width .5s ease-in-out, background-color .5s ease-in-out; -ms-transition: width .5s ease-in-out, background-color .5s ease-in-out; -o-transition: width .5s ease-in-out, background-color .5s ease-in-out; transition: width .5s ease-in-out, background-color .5s ease-in-out; text-align: center; } .block:hover { background-color: #2274A5; width: 30%; -webkit-transition: width .5s ease-in-out, background-color .5s ease-in-out; -moz-transition: width .5s ease-in-out, background-color .5s ease-in-out; -ms-transition: width .5s ease-in-out, background-color .5s ease-in-out; -o-transition: width .5s ease-in-out, background-color .5s ease-in-out; transition: width .5s ease-in-out, background-color .5s ease-in-out; } .block:hover .img-p { opacity: 1; -webkit-transition: opacity .5s .51s ease-in-out; -moz-transition: opacity .5s .51s ease-in-out; -ms-transition: opacity .5s .51s ease-in-out; -o-transition: opacity .5s .51s ease-in-out; transition: opacity .5s .51s ease-in-out; } .block:hover .layer { opacity: .5; -webkit-transition: opacity .5s ease-in-out; -moz-transition: opacity .5s ease-in-out; -ms-transition: opacity .5s ease-in-out; -o-transition: opacity .5s ease-in-out; transition: opacity .5s ease-in-out; } .img-p { position: absolute; font-size: 16px; opacity: 0; color: #FFF; text-align: left; line-height: 1.6em; } .p-container { width: 80%; position: relative; top: 30%; margin-left: 5%; } h1 { color: #fff; } .image { background-image: url(http://i67.tinypic.com/34ywe8m.jpg); -webkit-background-size: cover; -o-background-size: cover; background-size: cover; background-repeat: no-repeat; background-position: center center; } .image.fixed { background-attachment: fixed; background-position: center center; -webkit-background-size: 100% auto; -o-background-size: 100% auto; background-size: 100% auto; } .layer { position: absolute; left: 0; top: 0; bottom: 0; right: 0; background-color: #000; width: 100%; height: 100%; opacity: 0; }
@media (max-width: 768px) { .container { width: 90%; margin: 0 auto; } .block { width: 100%; height: 200px; -webkit-transition: height .5s ease-in-out; -moz-transition: height .5s ease-in-out; -ms-transition: height .5s ease-in-out; -o-transition: height .5s ease-in-out; transition: height .5s ease-in-out; } .block:hover { width: 100%; height: 400px; -webkit-transition: height .5s ease-in-out; -moz-transition: height .5s ease-in-out; -ms-transition: height .5s ease-in-out; -o-transition: height .5s ease-in-out; transition: height .5s ease-in-out; } }
@media (min-width: 768px) { .block { width: 15%; } } @media (min-width: 992px) { .block { width: 10%; } } .ua { position: fixed; right: 20px; top: 20px; color: #fff; font-size: 2em; } .fa { -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -ms-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease; } .ua:hover .fa { color: #17BEBB; -webkit-transform: scale(1.5); -moz-transform: scale(1.5); -ms-transform: scale(1.5); -o-transform: scale(1.5); transform: scale(1.5); -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -ms-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease; }
Developer | Antonija Simic |
Username | tonkec |
Uploaded | September 28, 2022 |
Rating | 4.5 |
Size | 2,559 Kb |
Views | 46,552 |
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 |
Material design navigation menu | 3,012 Kb |
CSS refrigerator | 5,764 Kb |
Sass mixin library for text hover | 9,960 Kb |
Pure CSS animated hamburger icon | 1,928 Kb |
Pure CSS hamburger icons transition | 2,243 Kb |
Simple slides with moving bg | 3,576 Kb |
Pure CSS side reveal effect | 2,397 Kb |
Sidebar with smooth transition | 2,740 Kb |
Pure css navigation revealed on hover | 2,142 Kb |
Menu with CSS3 transition | 2,844 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 |
CSS3 Form | Tusharbandal | 1,836 Kb |
A Pen by tugce | Ecgutcnkr | 4,197 Kb |
LeMandinque | Aadesida | 9,046 Kb |
Mosaic transition effect between two photos using jQuery | Stathisg | 2,518 Kb |
Improved Page Flipping Effect | Usaphp | 5,201 Kb |
STAR WARS LIGHTSABER | Francoiscoron | 4,420 Kb |
A Pen by Jason Kinney | Jason-kinney | 1,980 Kb |
Search Box in Content Moves to Fixed Header | Chriscoyier | 2,768 Kb |
Simple DevTools | Deegill | 2,511 Kb |
Shape Outside - Polygon | Stacy | 3,954 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!