Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #update {
- width:100px;
- position:fixed;
- margin-left:10px;
- margin-top:20px;
- z-index:9999999999999;
- }
- /*--- FIRST BOX ---*/
- .ln1 {
- height:1px;
- width:15px;
- text-align:center;
- overflow:hidden;
- letter-spacing:1px;
- font-size:8px;
- z-index:999999999999999999999; /*--don't touch this---*/
- background:{color:upd1};
- color:transparent;
- padding-top:10px;
- margin-bottom:5px;
- -webkit-transition: all 0.5s ease-in-out;
- -moz-transition: all 0.5s ease-in-out;
- -o-transition: all 0.5s ease-in-out;
- }
- .ln1:hover {
- background:white;
- width:100px; /*---change the width of the box when you hover ---*/
- height:270px; /*---change the height of the box when you hover ---*/
- color:gray;
- -webkit-transition:all 0.4s ease-in-out;
- -moz-transition:all 0.4s ease-in-out;
- -o-transition:all 0.4s ease-in-out;
- -ms-transition: all 0.4s ease-in-out;
- transition:all 0.5s ease-in-out}
- /*---the other boxes are identical to the first one, you just have to change the background-color if you want the rectangles to have different colors ---*/
- /*--- SECOND BOX ---*/
- .ln2 {
- height:1px;
- width:15px;
- text-align:center;
- overflow:hidden;
- letter-spacing:1px;
- font-size:8px;
- z-index:999999999999999999999;
- background:{color:upd2};
- color:transparent;
- padding-top:10px;
- margin-bottom:5px;
- -webkit-transition: all 0.5s ease-in-out;
- -moz-transition: all 0.5s ease-in-out;
- -o-transition: all 0.5s ease-in-out;
- }
- .ln2:hover {
- background:white;
- width:100px;
- height:270px;
- color:gray;
- -webkit-transition:all 0.4s ease-in-out;
- -moz-transition:all 0.4s ease-in-out;
- -o-transition:all 0.4s ease-in-out;
- -ms-transition: all 0.4s ease-in-out;
- transition:all 0.5s ease-in-out}
- /*--- THIRD BOX ---*/
- .ln3 {height:1px;
- width:15px;
- text-align:center;
- overflow:hidden;
- letter-spacing:1px;
- font-size:8px;
- z-index:999999999999999999999;
- background:{color:upd3};
- color:transparent;
- padding-top:10px;
- margin-bottom:5px;
- -webkit-transition: all 0.5s ease-in-out;
- -moz-transition: all 0.5s ease-in-out;
- -o-transition: all 0.5s ease-in-out;
- }
- .ln3:hover {
- background:white;
- width:100px;
- height:270px;
- color:gray;
- -webkit-transition:all 0.4s ease-in-out;
- -moz-transition:all 0.4s ease-in-out;
- -o-transition:all 0.4s ease-in-out;
- -ms-transition: all 0.4s ease-in-out;
- transition:all 0.5s ease-in-out}
- /*--- FORTH BOX ---*/
- .ln4 {height:1px;
- width:15px;
- text-align:center;
- overflow:hidden;
- letter-spacing:1px;
- font-size:8px;
- z-index:999999999999999999999;
- background:{color:upd4};
- color:transparent;
- padding-top:10px;
- margin-bottom:5px;
- -webkit-transition: all 0.5s ease-in-out;
- -moz-transition: all 0.5s ease-in-out;
- -o-transition: all 0.5s ease-in-out;
- }
- .ln4:hover {
- background:white;
- width:100px;
- height:270px;
- color:gray;
- -webkit-transition:all 0.4s ease-in-out;
- -moz-transition:all 0.4s ease-in-out;
- -o-transition:all 0.4s ease-in-out;
- -ms-transition: all 0.4s ease-in-out;
- transition:all 0.5s ease-in-out}
- /*--- FIFTH BOX ---*/
- .ln5 {height:1px;
- width:15px;
- text-align:center;
- overflow:hidden;
- letter-spacing:1px;
- font-size:8px;
- z-index:999999999999999999999;
- background:{color:upd5};
- color:transparent;
- padding-top:10px;
- -webkit-transition: all 0.5s ease-in-out;
- -moz-transition: all 0.5s ease-in-out;
- -o-transition: all 0.5s ease-in-out;
- transition:all 0.5s ease-in-out;
- }
- .ln5:hover {
- background:white;
- width:100px;
- height:270px;
- color:gray;
- -webkit-transition:all 0.4s ease-in-out;
- -moz-transition:all 0.4s ease-in-out;
- -o-transition:all 0.4s ease-in-out;
- -ms-transition: all 0.4s ease-in-out;
- transition:all 0.5s ease-in-out}
- }
Advertisement
Add Comment
Please, Sign In to add comment