Coder Social home page Coder Social logo

ali-666's Projects

1 icon 1

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous"> <style> *{ padding: 0; margin: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } #box1{ width: 100%; height: 30vh; float: left; } #box2{ width: 100%; height: 70vh; background: aqua; float: left; } #box1 h1, #box1 h2{ width: 100%; height: 50%; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; padding: 2%; text-align: center; line-height: 40px; transition: 1s; cursor: pointer; } #box1 h1:hover{ word-spacing: 20px; } #box1 h2:hover{ letter-spacing: 10px; } #box2 div{ width: 150px; height: 50px; border: 2px solid white; color: white; margin: 10% calc(50% - 75px); position: relative; overflow: hidden; } #box2 div span{ position: absolute; top: 0; width: 100%; height: 100%; color: white; font-size: 30px; font-weight: bold; text-align: center; transition: 1s; } #box2 div span:nth-of-type(1){ left: 0; } #box2 div span:nth-of-type(2){ left: -100%; } #box2 div:hover span:nth-of-type(1){ left: 100%; } #box2 div:hover span:nth-of-type(2){ left:0; } </style> </head> <body> <div id="box1"> <h1>IMD CLASS</h1> <h2> IMD CLASS </h2> </div> <div id="box2"> <div> <span><i class="fa fa-search" aria-hidden="true"></i></span> <span>IMDCLASS</span> </div> </div> </body> </html>

3 icon 3

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <style> *{ padding: 0; margin: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } body{ height: 1000px; } .box{ width: 100px; height: 100px; background: red; position: relative; } .box>div{ width: 50px; height: 50px; background: yellow; position: absolute; top: 5%; left: 10%; } .box:nth-of-type(2){ background: aqua; position: fixed; /* position:sticky;*/ top: 10%; left: 20%; } </style> </head> <body> <div class="box"> <div></div> </div> <div class="box"></div> </body> </html>

4 icon 4

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous"> <style> *{ padding: 0; margin: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } #box1{ width: 100%; height: 30vh; float: left; } #box2{ width: 100%; height: 70vh; background: aqua; float: left; } #box1 h1, #box1 h2{ width: 100%; height: 50%; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; padding: 2%; text-align: center; line-height: 40px; transition: 1s; cursor: pointer; } #box1 h1:hover{ word-spacing: 20px; } #box1 h2:hover{ letter-spacing: 10px; } #box2 div{ width: 150px; height: 50px; border: 2px solid white; color: white; margin: 10% calc(50% - 75px); position: relative; overflow: hidden; } #box2 div span{ position: absolute; top: 0; width: 100%; height: 100%; color: white; font-size: 30px; font-weight: bold; text-align: center; transition: 1s; } #box2 div span:nth-of-type(1){ left: 0; } #box2 div span:nth-of-type(2){ left: -100%; } #box2 div:hover span:nth-of-type(1){ left: 100%; } #box2 div:hover span:nth-of-type(2){ left:0; } </style> </head> <body> <div id="box1"> <h1>IMD CLASS</h1> <h2> IMD CLASS </h2> </div> <div id="box2"> <div> <span><i class="fa fa-search" aria-hidden="true"></i></span> <span>IMDCLASS</span> </div> </div> </body> </html>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.