CSS3 Slider Practice

Size
2,640 Kb
Views
6,072

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 Previews

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">&ldquo;</span> Integrated Circuit & System <span class="rightq quotes">&bdquo; </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">&ldquo;</span> <span class="rightq quotes">&bdquo; </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">&ldquo;</span> Spontaneous Projects <span class="rightq quotes">&bdquo; </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
*/
CSS3 Slider Practice - Script Codes
CSS3 Slider Practice - Script Codes
Home Page Home
Developer Esambino Wei Cheng Hsieh
Username Esambino
Uploaded January 07, 2023
Rating 3
Size 2,640 Kb
Views 6,072
Do you need developer help for CSS3 Slider Practice?

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!

Esambino Wei Cheng Hsieh (Esambino) Script Codes
Create amazing love letters 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!