CSS3 Slider Practice
How do I make an css3 slider practice?
What is a css3 slider practice? How do you make a css3 slider practice? This script and codes were developed by Esambino Wei Cheng Hsieh on 07 January 2023, Saturday.
CSS3 Slider Practice - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>CSS3 Slider Practice</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="container"> <input type="radio" name="nav" id="first" checked/> <input type="radio" name="nav" id="second" /> <input type="radio" name="nav" id="third" /> <label for="first" class="first"></label> <label for="second" class="second"></label> <label for="third" class="third"></label> <div class="three slide"> <blockquote> <span class="leftq quotes">“</span> Integrated Circuit & System <span class="rightq quotes">„ </span> </blockquote> <img border="10px" height="270" src="" width="480"/> <h4> Integrated Circuit & System </h4> </div> <div class="one slide"> <blockquote> <span class="leftq quotes">“</span> <span class="rightq quotes">„ </span> </blockquote> <img border="10px" height="270" src="#" width="480" /> <h4><i> Web Development </i></h4> </div> <div class="two slide"> <blockquote> <span class="leftq quotes">“</span> Spontaneous Projects <span class="rightq quotes">„ </span> </blockquote> <img border="10px" height="270" src="" width="480" /> <h4><i> Esambino </i></h4> </div>
</div> <script src="js/index.js"></script>
</body>
</html>
CSS3 Slider Practice - Script Codes CSS Codes
@import url(https://fonts.googleapis.com/css?family=Open+Sans);
*{ box-sizing:border-box;
}
html, body{ margin-top: 20px; height: 100%; font-family: Open Sans; font-size: 1em; color: #CCC; letter-spacing: 1px; background-color: #222; background-size: cover;
}
h1 { text-align: center;
}
h4 { text-align: center; font-weight: lighter; color: #797979;
}
.container{ width: 480px; height: 440px; margin: 0px auto; position: relative; overflow: hidden;
}
input[type="radio"] {
position: absolute;
width: 1px; /* Setting this to 0 make it invisible for VoiceOver */
height: 1px; /* Setting this to 0 make it invisible for VoiceOver */
padding: 0;
margin: -1px;
border: 0;
clip: rect(0 0 0 0);
overflow: hidden;
}
label { display: block; left: 4%; bottom: 10px; width: 28%; height: 16px; position: absolute; background: #B9C9B9; border: 3px solid #595959; cursor: pointer; transition: border-color 0.25s linear; -o-transition: border-color 0.25s linear; -webkit-transition: border-color 0.25s linear;
}
label.second { left: 36%;
}
label.third { left: 68%;
}
label.first:hover { background-color: firebrick;
}
label.second:hover { background-color: #2183c4;
}
label.third:hover { background-color: seagreen;
}
blockquote { margin: 0px; padding: 20px; width: 480px; font-size: 1.3em; text-align: center; background-color: firebrick; positon: relative; transition: background-color 0.5s linear; -o-transition: background-color 0.5s linear; -webkit-transition: background-color 0.5s linear;
}
blockquote:after { height: 0; width: 0;
}
#second:checked ~ .two blockquote { background-color: #2183c4;
}
#third:checked ~ .three blockquote{ background-color: seagreen;
}
#first:checked ~ label.first { background-color: firebrick;
}
#second:checked ~ label.second { background-color: #2183c4;
}
#third:checked ~ label.third { background-color: seagreen;
}
.slide { position: absolute; left: -10%; opacity: 0; transition: all 0.5s ease-in; -o-transition: all 0.5s ease-in; -webkit-transition: all 0.5s ease-in;
}
#first:checked ~ div.one { left: 0; opacity:1;
}
#second:checked ~ div.two { left: 0; opacity:1;
}
#third:checked ~ div.three { left:0; opacity:1;
}
CSS3 Slider Practice - Script Codes JS Codes
/*
It's a CSS3 practice work
learned from Sara Soueidan's work: https://codepen.io/SaraSoueidan/
Follow me
https://www.facebook.com/esambino.hsieh
*/
Developer | Esambino Wei Cheng Hsieh |
Username | Esambino |
Uploaded | January 07, 2023 |
Rating | 3 |
Size | 2,640 Kb |
Views | 6,072 |
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 |
Test hover | 2,616 Kb |
My three.js practice | 3,203 Kb |
Tribute to Rorschach | 29,121 Kb |
Svg effect practice | 2,814 Kb |
My first gsap | 4,655 Kb |
0000 | 3,281 Kb |
Open | 6,062 Kb |
Practice hover | 1,919 Kb |
Cafe Lakulaku | 3,580 Kb |
Gdf | 3,884 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 |
Emberjs Bootstrap Modal Carousel | Somethingkindawierd | 4,233 Kb |
Pure CSS albums gallery | Renaudtertrais | 2,978 Kb |
Spinners using Font Icons | Keyamoon | 3,007 Kb |
Learning canvas drawing | Aurer | 2,204 Kb |
Portfolio Page | HuffmanJ25 | 5,240 Kb |
JQuery Validate checkbox group | Lunaman | 2,466 Kb |
Hc first draft | Stepfray | 5,104 Kb |
Minimal Material Design Form Input | Koenigsegg1 | 3,076 Kb |
Vertical Pan Hammer.js example | Jtangelder | 2,144 Kb |
CSS Grid Overlay | Cliffpyles | 3,090 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!