logo1 creations web buttons navbars code editor share social images editor Contact login sitemap

Slideshow Creation With CSS Properties

  • Web html5, css3, javascript, php, sql, jquery, xml, ajax, web design & development, photo maker, SEO.
  • Online web design, along with everything you need for a complete website.
  • slideshow creation with css property, a responsive slideshow HTML with CSS and JAVASCRIPT. Basic or Automatic
       

Basic Slideshow demo

1 / 4
1
Enter Text one


<style> .bax { -webkit-animation-name: bax; -webkit-animation-duration: 1.5s; animation-name: bax; animation-duration: 1.5s; } @-webkit-keyframes bax{ from{opacity:.4} to{opacity:1} } @keyframes bax{ from{opacity:.4} to{opacity:1} } .lee { height: 15px; width: 15px; margin:0 2px; background-color: #bbb; border-radius: 50%; display: inline-block; transition: background-color 0.6s ease; } .bax1, .bax2 { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; z-index:1; cursor: pointer; position: absolute; top: 0; width:auto; padding: 16px; top:50%; margin-top: -22px; color: #fff; font-weight: bold; font-size: 18px; transition: background-color 0.6s ease; border-radius: 0 3px 3px 0; } .bax1:hover, .bax2:hover { color: white; background-color: rgba(0,0,0,0.8); } .bax2 { right: 0; border-radius: 3px 0 0 3px; } .dd { color: #f2f2f2; font-size: 15px; padding: 8px 12px; position: absolute; bottom: 8px; width:100%; text-align:center; } .nom { color: #f2f2f2; font-size: 12px; padding: 8px 12px; position: absolute; top: 0; } @media only screen and (max-width: 400px) { .bax1, .bax2,.dd { font-size:12px; } } .baxe,.lee:hover { background-color:#66FF00; } .bax { display:none; } </style> <div style="max-width:1000px;min-width:250px;position:relative;margin:auto;"> <div class="jsb bax" style="display: block;"> <div class="nom">1 / 4</div> <img src="img/1.png" style="width:100%" alt="1" title="1"> <div class="dd">Enter Text one</div> </div> <div class="jsb bax" style="display: none;"> <div class="nom">2 / 4</div> <img src="img/2.png" style="width:100%" alt="2" title="2"> <div class="dd">Enter Text Two</div> </div> <div class="jsb bax" style="display: none;"> <div class="nom">3 / 4</div> <img src="img/3.png" style="width:100%" alt="3" title="3"> <div class="dd">Enter Text Three</div> </div> <div class="jsb bax" style="display: none;"> <div class="nom">4 / 4</div> <img src="img/4.png" style="width:100%" alt="4" title="4"> <div class="dd">Enter Text Four</div> </div> <a class="bax1" onclick="lino(-1)"></a> <a class="bax2" onclick="lino(1)"></a> </div></div> <div style="text-align:center"> <a href="#" class="lee baxe" onclick="bamo(1)" title="slide 1"></a> <a href="#" class="lee" onclick="bamo(2)" title="slide 2"></a> <a href="#" class="lee" onclick="bamo(3)" title="slide 3"></a> <a href="#" class="lee" onclick="bamo(4)" title="slide 4"></a> <script> var slideIndex = 1; showSlides(slideIndex); function lino(n) { showSlides(slideIndex += n); } function bamo(n) { showSlides(slideIndex = n); } function showSlides(n) { var i; var slides = document.getElementsByClassName("jsb"); var dots = document.getElementsByClassName("lee"); if (n > slides.length) {slideIndex = 1} if (n < 1) {slideIndex = slides.length} ; for (i = 0; i < slides.length; i++) { slides[i].style.display = "none"; } for (i = 0; i < dots.length; i++) { dots[i].classList.remove("baxe"); } slides[slideIndex-1].style.display = "block"; dots[slideIndex-1].classList.add("baxe"); } </script>


Automatic Slideshow demo

<style> * {box-sizing: border-box;} body {font-family: Verdana, sans-serif;} .bax1 {display: none;} img {vertical-align: middle;} .bax { max-width: 1000px; position: relative; margin: auto; } .bax4 { color: #f2f2f2; font-size: 15px; padding: 8px 12px; position: absolute; bottom: 8px; width: 100%; text-align: center; } .bax3 { color: #f2f2f2; font-size: 12px; padding: 8px 12px; position: absolute; top: 0; } .bax5 { height: 15px; width: 15px; margin: 0 2px; background-color: #bbb; border-radius: 50%; display: inline-block; transition: background-color 0.6s ease; } .bax6 { background-color: #66FF00; } .bax2 { -webkit-animation-name: bax2; -webkit-animation-duration: 1.5s; animation-name: bax2; animation-duration: 1.5s; } @-webkit-keyframes bax2 { from {opacity: .4} to {opacity: 1} } @keyframes bax2 { from {opacity: .4} to {opacity: 1} } @media only screen and (max-width: 300px) { .bax4 {font-size: 11px} } </style> <div class="bax"> <div class="bax1 bax2"> <div class="bax3">1 / 4</div> <img src="img/1.png" style="width:100%"> <div class="bax4">Enter Text One</div> </div> <div class="bax1 bax2"> <div class="bax3">2 / 4</div> <img src="img/2.png" style="width:100%"> <div class="bax4">Enter Text Two</div> </div> <div class="bax1 bax2"> <div class="bax3">3 / 4</div> <img src="img/3.png" style="width:100%"> <div class="bax4">Enter Text Three</div> </div> <div class="bax1 bax2"> <div class="bax3">4 / 4</div> <img src="img/4.png" style="width:100%"> <div class="bax4">Enter Text Four</div> </div> </div> <br> <div style="text-align:center"> <span class="bax5"></span> <span class="bax5"></span> <span class="bax5"></span> <span class="bax5"></span> </div> <script> var slideIndex = 0; showSlides(); function showSlides() { var i; var slides = document.getElementsByClassName("bax1"); var dots = document.getElementsByClassName("bax5"); for (i = 0; i < slides.length; i++) { slides[i].style.display = "none"; } slideIndex++; if (slideIndex > slides.length) {slideIndex = 1} for (i = 0; i < dots.length; i++) { dots[i].className = dots[i].className.replace(" bax6", ""); } slides[slideIndex-1].style.display = "block"; dots[slideIndex-1].className += " bax6"; setTimeout(showSlides, 2000); // Change image every 2 seconds } </script>


All Basic HTML5

HTML is the main markup language for web pages, and its elements are the basic building blocks of web pages. HTML is written in the form of HTML elements consisting of tags enclosed in "greater than" and "less than" symbols within the content of the web page.


All Basic CSS3

CSS (Cascading Style Sheets) is a computer language that belongs to the category of style sheet languages used to control the appearance of a document written in a markup language.It is used to control the appearance of a document written in HTML and XHTML, that is, to control the appearance of a web page and a website in general.


js JAVASCRIPT

Javascript is a set of computer software and specifications developed by James Gosling at Sun Microsystems, later acquired by Oracle Corporation, which provides a system for developing application software and its development in a multi-platform computing environment.


CREATIONS

In this chapter I call creation I will present you creations html, css and javascript that are very useful and creative in a web site. You can get them ready-made with Netbax creations or create them yourself as you wish with the help provided by the Netbax editor.


NAVIGATION Bar

having easy-to-use horizontal & vertical menu is important for any web site. with css you can transform boring html menus into good-looking horizontal & vertical bars. horizontal & vertical menu is such an important part of your website. it’s how your visitors navigate to the main areas of your site and makes it easy for them to find.


WEB BUTTONS

Collection of hand-picked free HTML and CSS button code examples.In this article, we'll see some really cool looking responsive buttons using only a few lines of CSS.You are free to copy, modify and use this code as you wish.All the buttons shown here can scale accordingly to the font-size attribute, and should work in any relatively recent browser.

Netbax Contact Us