HTML AND CSS, YouTube

Image Comparison Slider Only html & CSS

Image Comparison Slider Only CSS

Coding BD gave here Image Comparison Slider Only CSS. We created an image comparison slider using CSS. It is the most important part Of the CSS image comparison slider. We have given more importance to image comparison. We have used an image comparison slider in HTML and CSS because they need a highly effective tutorial. Thank you so much.

😍😍 If You like this video Please like, share and subscribe This video.😍😍

😍😍 Check Others Programming Video👇

➡️How To Create a Simple Animation Movie Using HTML & CSS: https://youtu.be/7uj3nh-Dn6Y  

➡️ CSS 3d Layered Image Hover Effects CSS: https://www.youtube.com/watch?v=0qdWV… 

➡️Responsive website html css javascript | part( 1 ): https://www.youtube.com/watch?v=g0ART… 

➡️ Responsive Services Section: https://www.youtube.com/watch?v=wvLky

➡️ CSS Clip Path Hover Circle Hover Effects: https://www.youtube.com/watch?v=cRSgo

➡️ CSS Responsive CARD Hover Effects & Adding Stroke to Text | Html5 CSS3 2021: https://www.youtube.com/watch?v=QVMJ5

➡️  Neon Light Button Animation Effects on Hover | CSS Snake Border: https://www.youtube.com/watch?v=GtVSF… 

➡️ Responsive Box Model Web Design Using CSS Flexbox: https://www.youtube.com/watch?v=03RuV… 

➡️ Digital Clock with Animated Progress-bar | HTML CSS & Vanilla Javascript: https://www.youtube.com/watch?v=6A6Hp… 

➡️ How to create a light to dark mode for HTML CSS & Vanilla Javascript 2021: https://www.youtube.com/watch?v=43FbR…  

➡️Scroll top button: https://www.youtube.com/watch?v=9fDEJ… 

➡️ Animated Eid Mubarak 2021 using Html CSS & JavaScript: https://www.youtube.com/watch?v=60H2g

Here is all Source code. You can follow this steps:

  1. Create 1 folder
  2. create 1 HTML file: index.html
  3. create 1 CSS file: style.css
  4. copy HTML code and pest HTML file, copy CSS code and past CSS file
  5. Now give a smile and jump out loud. 😍😍
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Image Comparison</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
   <div class="img_box">
       <textarea readonly></textarea>
       <textarea readonly></textarea>
   </div>
</body>
</html>
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

.img_box{
    position: relative;
    width: 450px;
    height: 500px;
    overflow: hidden;
}

.img_box textarea{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    background: url(batman.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    resize: none;
    outline: none;
    border: none;
    opacity: 0.2;
    filter: grayscale(1);
    -webkit-filter: grayscale(1);
}

.img_box textarea:nth-child(2){
    height: 200px;
    opacity: 1;
    border-bottom: 2px solid #fff;
    resize: vertical;
    filter: grayscale(0);
    -webkit-filter: grayscale(0);
}

You can Download free image in Unsplash

Don’t Forget to Follow me on all Social Network,

YouTube: https://www.youtube.com/channel/UCw9etYfx-25oKB_qt1fFNWw

Facebook Page: Coding BD – https://www.facebook.com/codingbd2021

LinkedIn: https://www.linkedin.com/in/sajjat-hossain-0617961b1/

GitHub: https://github.com/cgsaleh8383

#codingbd #ecommerce #htmlcss

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *