Pure CSS bread-loaf carousel

Size
2,559 Kb
Views
46,552

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 Previews

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; }
Pure CSS bread-loaf carousel - Script Codes
Pure CSS bread-loaf carousel - Script Codes
Home Page Home
Developer Antonija Simic
Username tonkec
Uploaded September 28, 2022
Rating 4.5
Size 2,559 Kb
Views 46,552
Do you need developer help for Pure CSS bread-loaf carousel?

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!

Antonija Simic (tonkec) Script Codes
Create amazing captions with AI!

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!