Optical Glass
How do I make an optical glass?
Optical Glass - Made with CSS3, HAML and JavaScript. What is a optical glass? How do you make a optical glass? This script and codes were developed by Vahid on 16 September 2022, Friday.
Optical Glass - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Optical Glass</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id='main'> <div id='over'></div> <div class='q'> <div> <p>You read the Bible?</p> </div> </div>
</div> <script src="js/index.js"></script>
</body>
</html>
Optical Glass - Script Codes CSS Codes
@import url('https://fonts.googleapis.com/css?family=Telex');
*, *:after, *:before { margin: 0; padding: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
}
body, html { width: 100%; height: 100%; margin: 0; padding: 0;
}
body { font-family: 'Telex'; overflow: hidden; background: #aab4a5;
}
#main { position: relative; width: 90%; height: 90%; left: 5%; top: 5%; border: 10px solid #4e8a4e; -webkit-border-radius: 25px; -moz-border-radius: 25px; border-radius: 25px; background-color: #444444; background-attachment: fixed; background-image: url(https://addb8f053b96eb264ad3daffd8fdb55b4f27af61.googledrive.com/host/0B-0uZjFdGZ8KalphOHZtdFhLMlU/bw.jpg); -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; -webkit-box-shadow: 2px 2px 5px 2px #444444; -moz-box-shadow: 2px 2px 5px 2px #444444; -o-box-shadow: 2px 2px 5px 2px #444444; box-shadow: 2px 2px 5px 2px #444444; overflow: hidden; cursor: none;
}
#over { width: 270px; height: 270px; top: 10%; left: 60%; border: 3px solid transparent; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; background-attachment: fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; position: absolute; -webkit-box-shadow: inset 0px 0px 45px 5px #888888; -moz-box-shadow: inset 0px 0px 45px 5px #888888; -o-box-shadow: inset 0px 0px 45px 5px #888888; box-shadow: inset 0px 0px 45px 5px #888888; background-image: url(https://addb8f053b96eb264ad3daffd8fdb55b4f27af61.googledrive.com/host/0B-0uZjFdGZ8KalphOHZtdFhLMlU/rgb.jpg); z-index: 0;
}
.q { position: absolute; width: 300px; height: 100px; left: 50%; top: 50%; display: table; margin-top: -50px; margin-left: -150px; padding: 5px; border: 12px rgba(226, 217, 199, 0.30) solid; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; -webkit-box-shadow: 1px 1px 8px #ababab; -moz-box-shadow: 1px 1px 8px #ababab; -o-box-shadow: 1px 1px 8px #ababab; box-shadow: 1px 1px 8px #ababab; z-index: 1;
}
.q > div { display: table-cell; vertical-align: middle;
}
.q > div > p { color: #ffffff; font-family: 'Telex'; text-align: center; font-size: 20px; text-shadow: 1px 1px 3px #999999;
}
Optical Glass - Script Codes JS Codes
window.onload = function () { var container = document.getElementById ( 'main' ); document.onmousemove = function ( event ) { event = event || window.event; var x = event.clientX - container.offsetLeft, y = event.clientY - container.offsetTop; followXY ( 'over', x, y ); }
}
function followXY ( id, x, y ) { var obj = document.getElementById ( id ); obj.style.left = x - parseInt( obj.offsetWidth ) / 2 + 'px'; obj.style.top = y - parseInt( obj.offsetHeight ) / 2 + 'px';
}
Developer | Vahid |
Username | vahidseo |
Uploaded | September 16, 2022 |
Rating | 3 |
Size | 2,660 Kb |
Views | 28,336 |
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 |
Guitar Notes And Scales Viewer | 5,479 Kb |
Pure CSS3 cocktail and Martini logo | 34,773 Kb |
HTML5 Canvas Heart Monitor | 2,116 Kb |
3D Realistic World Clock | 8,066 Kb |
Awesome extensible radial progress | 2,285 Kb |
Shining image | 19,302 Kb |
Pure CSS3 rotating Bayern Munich logo | 2,676 Kb |
Parallax - Webkit hardware acceleration with will change and transform hack | 5,071 Kb |
3D WWII Interactive Plane | 3,652 Kb |
Parallax with 3D transform - Taxi Driver | 3,145 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 |
Michelle, submit your photography to Unsplash. | Zaneriley | 3,368 Kb |
Parallax-ish Sliding Content | Jdsteinbach | 2,748 Kb |
Pink expansion tunnel | Vez | 1,738 Kb |
Flying Bee | Pwsm50 | 3,711 Kb |
CSS3 Form Page Design | Rssatnam | 3,613 Kb |
Algorithm practice | Abensur | 5,620 Kb |
Opening Reveal Modal On Document Ready | Winghouchan | 1,787 Kb |
Fellowship of the Ring | Aussieyang | 2,639 Kb |
Transitioning application screens with semantically named classes | Djgrant | 3,697 Kb |
Masonry | Uriuriuriu | 5,005 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!