Image gallery filter using JavaScript
Create a file name as index.html. Copy and paste the code in created html file. then preview the file. <!DOCTYPE html> <html> <title>AVI image gallery filter using javascript</title> <style> body{ background-attachment: fixed; background-image: url("https://scontent.fblr1-3.fna.fbcdn.net/v/t31.0-8/s960x960/12465917_1635749766699587_1279892828258216364_o.jpg?_nc_cat=102&_nc_sid=e007fa&_nc_ohc=FWPa0buZEygAX_1q5tu&_nc_ht=scontent.fblr1-3.fna&_nc_tp=7&oh=be5968c9332fa2d47d2b8a3c44f94a05&oe=5EE67B26"); background-blend-mode:luminosity; background-repeat: no-repeat; background-size: cover; position: relative; } .mainavi{ margin: 0 auto; padding: 40px; } .mainavi h2{ background: #612c0db8; padding: 10px; font-size: 20px; color: #fff; font-family: cursive; } .filterDiv { float: left; /*background-color: #2196F3;*/ color: #ffffff; width: 300px; height: 300px; line
Comments
Post a Comment