Avn Slider
How do I make an avn slider?
Css only acc slider !. What is a avn slider? How do you make a avn slider? This script and codes were developed by Mghayour on 31 October 2022, Monday.
Avn Slider - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Avn Slider</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <link href='https://fonts.googleapis.com/css?family=Amarante' rel='stylesheet' type='text/css'> <h1 class="main_title">The <span class="main_letter">A</span>vengers</h1> <section class="acc_slider"> <ul> <li> <img src="http://mghayour.ir/files/img/mycodepen/avnslider/avengers1.jpg" alt="AvnSlider_Slide" width="469" height="293" /> <div class="slide_title">IRON MAN</div> <div class="slide_textarea">Some other and <br /> Multiline Jafang !</div> </li> <li> <img src="http://mghayour.ir/files/img/mycodepen/avnslider/avengers2.jpg" alt="AvnSlider_Slide" width="469" height="293" /> <div class="slide_title">HULK</div> <div class="slide_textarea">Some other and <br /> Multiline Jafang !</div> </li> <li> <img src="http://mghayour.ir/files/img/mycodepen/avnslider/avengers3.jpg" alt="AvnSlider_Slide" width="469" height="293" /> <div class="slide_title">THOR</div> <div class="slide_textarea">Some other and <br /> Multiline Jafang !</div> </li> <li> <img src="http://mghayour.ir/files/img/mycodepen/avnslider/avengers4.jpg" alt="AvnSlider_Slide" width="469" height="293" /> <div class="slide_title">HAWKEYE</div> <div class="slide_textarea">Some other and <br /> Multiline Jafang !</div> </li> <li> <img src="http://mghayour.ir/files/img/mycodepen/avnslider/avengers5.jpg" alt="AvnSlider_Slide" width="469" height="293" /> <div class="slide_title">BLACK<br /> WIDOW</div> <div class="slide_textarea">Some other and <br /> Multiline Jafang !</div> </li> <li> <img src="http://mghayour.ir/files/img/mycodepen/avnslider/avengers6.jpg" alt="AvnSlider_Slide" width="469" height="293" /> <div class="slide_title">CAPITAN<br /> AMERICA</div> <div class="slide_textarea">Some other and <br /> Multiline Jafang !</div> </li> <li> <img src="http://mghayour.ir/files/img/mycodepen/avnslider/avengers7.jpg" alt="AvnSlider_Slide" width="469" height="293" /> <div class="slide_title">S-H-I-E-L-D</div> <div class="slide_textarea">Some other and <br /> Multiline Jafang !</div> </li> <li> <img src="http://mghayour.ir/files/img/mycodepen/avnslider/avengers8.jpg" alt="AvnSlider_Slide" width="469" height="293" /> <div class="slide_title">LOKI</div> <div class="slide_textarea">Some other and <br /> Multiline Jafang !</div> </li> </ul> </section> <h2 class="-mghayour"></h2> <script src="js/index.js"></script>
</body>
</html>
Avn Slider - Script Codes CSS Codes
/****Main Title***/
.main_title{ font-size: 72px; color: #222; font-family: 'Amarante', cursive; text-align:center; margin: 0; padding: 0;
}
.main_letter{ font-size: 132px; color: #f00;
}
/****Main Slider Box !****/
.acc_slider { width: 753px; height: 293px; background-color: #ccc; margin: 20px auto; overflow: hidden; border: 1px solid #000;
}
.acc_slider:before { content: " "; display: block; position: absolute; width: 753px; height: 293px; background-color: #000; z-index: -1; -webkit-transform: rotate(-10deg); -moz-transform: rotate(-10deg); -ms-transform: rotate(-10deg); -o-transform: rotate(-10deg); transform: rotate(-10deg);
}
.acc_slider ul { list-style: none; padding: 0; margin: 0; width: 3000px; height: inherit;
}
.acc_slider li { position: relative; list-style: none; float: left; padding: 0; margin: 0; width: 94px; overflow: hidden; border-right: 1px solid #000;
}
.acc_slider li img { width: 469px; margin-left: -70px;
}
.acc_slider li,
.acc_slider li img { height: inherit; -webkit-transition: all 1s; -moz-transition: all 1s; -ms-transition: all 1s; -o-transition: all 1s; transition: all 1s;
}
.acc_slider li:last-child { padding-right: 500px;
}
/***Texts****/
.acc_slider li .slide_textarea ,
.acc_slider li .slide_title { color: #fff; position: absolute; white-space: nowrap;
}
.acc_slider li .slide_title { top: 94px; left: 190px; font-size: 32px;
}
.acc_slider li .slide_textarea { top: 150px; left: 240px; font-size: 24px;
}
/****Special Text !***/
.acc_slider li .slide_title { top: 58px;
}
.acc_slider li .slide_title:first-letter { font-size: 63px;
}
.acc_slider li:nth-child(1) .slide_title:first-letter { color: #b4180d;
}
.acc_slider li:nth-child(2) .slide_title { top: 49px; left:208px;
}
.acc_slider li:nth-child(2) .slide_title:first-letter { color: #779c1a;
}
.acc_slider li:nth-child(3) .slide_title:first-letter { color: #cdcbc9;
}
.acc_slider li:nth-child(4) .slide_title:first-letter { color: #7328ab;
}
.acc_slider li:nth-child(5) .slide_title { top: 69px; left:262px;
}
.acc_slider li:nth-child(5) .slide_title:first-letter { color: #d76b35;
}
.acc_slider li:nth-child(5) .slide_textarea { top: 190px; left: 280px;
}
.acc_slider li:nth-child(6) .slide_title { top: 69px; left:212px;
}
.acc_slider li:nth-child(6) .slide_title:first-letter { color: #538bc7;
}
.acc_slider li:nth-child(6) .slide_textarea { top: 200px; left: 240px;
}
.acc_slider li:nth-child(7) .slide_title:first-letter { color: #b97259;
}
.acc_slider li:nth-child(8) .slide_title:first-letter { color: #f2c366;
}
/****hover***/
.acc_slider ul:hover li { width: 40px;
}
.acc_slider ul li:hover { width: 469px;
}
.acc_slider ul li:hover > img { margin-left: 0;
}
/******Powered By Mghayour***/
.mghayour { height: 42px; font-size: 42px; text-align: center; color: #444;
}
.mghayour:before { content: "Powered By "; display: inline;
}
.mghayour:after { content: "MGhayour"; color: #7328ab; display: inline;
}
Avn Slider - Script Codes JS Codes
/* special thanks from my teacher (Ali.MD)
*/
Developer | Mghayour |
Username | mghayour |
Uploaded | October 31, 2022 |
Rating | 3.5 |
Size | 2,751 Kb |
Views | 24,288 |
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 |
Download Button | 2,374 Kb |
CSS Wave Play | 2,842 Kb |
An other linear loader | 1,694 Kb |
Wp tab | 2,294 Kb |
An other menu | 1,791 Kb |
Rainy cloud | 2,287 Kb |
Ghost | 11,738 Kb |
MG Factory | 2,396 Kb |
An other layout | 2,569 Kb |
Cloudy Sky | 3,041 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 |
TestTube CSS | EZPK | 2,710 Kb |
Buttons for autumn | Nikazawila | 1,795 Kb |
Intake Form Page 2 | Ijantje | 4,983 Kb |
Growing Root - Scroll control - CANVAS | Cjonasw | 2,342 Kb |
Price Comparison Table | Orrinward | 3,459 Kb |
Two tables and header with jspdf-autotable | Someatoms | 2,245 Kb |
Banner Ad | Raquellorenzana | 4,172 Kb |
Navcube | Wbarlow | 4,775 Kb |
Simple content swap | Snografx | 1,859 Kb |
Two column of responsive height | Fixie | 2,908 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!