Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #digga {
- margin:0 auto;
- width:300px;
- background-color:#1265b0;
- height:500px;
- }
- #discription{
- width:100%;
- height:300px;
- background-color:#1265b0;
- background-image:
- }
- #textboxbg{
- position:absolute;
- z-index:3000;
- overflow: hidden;
- height:300px;
- width:300px;
- background-color:rgba(0,0,0,0);
- -webkit-transition:background 100ms ease-in;}
- #textbox{width:500px;height:300px;}
- #spacer {
- float:left;
- width:200px;
- -webkit-transition:width 100ms ease-in;
- height:100%;
- }
- #textbox p {
- float:left;
- -webkit-transition:all 100ms ease-in;
- opacity:0;
- width:240px;
- text-align:left;
- padding:10px 50px 0 0;
- line-height:28px;
- font-size:20px;}
- #textboxbg:hover {background-color:rgba(0,0,0,0.8);opacity:1;}
- #textboxbg:hover p {opacity:1;}
- #textboxbg:hover #spacer {width:30px;}
- img {width:100%;height:300px;}
- p {
- text-align:center;
- color:white;
- font-size:60px;}
Add Comment
Please, Sign In to add comment