Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <style>
- .title {
- background-color: #1a1a1a;
- color: #727272;
- height: 32px;
- line-height: 32px;
- padding-left: 8px;
- /*width: 129px;*/
- font-size: 7pt;
- font-family: Arial;
- }
- /*Added - start*/
- /*-----------------------------------------------*/
- .title:hover {
- background-color: #B9A65E;
- color: #ffffff;
- cursor: pointer;
- }
- .title:hover > .categorie {
- background-color: #B9A65E;
- color: #B9A65E;
- }
- /*Added finish*/
- /*-----------------------------------------------*/
- /* !!!DELETED*/
- /*.title:hover {*/
- /*position:absolute;*/
- /*bottom:0;*/
- /*left:0;*/
- /*right:0;*/
- /*}*/
- .categorie {
- background-color: #333333;
- color: #aeaeae;
- height: 32px;
- margin-left: 129px;
- margin-top: -32px;
- padding-left: 13px;
- /*width: 74px;*/
- font-size: 7pt;
- font-family: Arial;
- }
- .project {
- margin-right: 10px;
- /*float: left;*/
- display: inline-block;
- }
- .project img {
- filter: grayscale(100%);
- -webkit-filter: grayscale(100%);
- transition: filter 600ms ease;
- -webkit-transition: -webfilter 600ms ease;
- }
- /* !!!DELETED*/
- /*.project img:hover {*/
- /*filter: grayscale(0);*/
- /*-webkit-filter: grayscale(0);*/
- /*}*/
- </style>
- </head>
- <body>
- <div class="content">
- <div class="project">
- <img src="images/project.png">
- <div class="title">Pocahontas
- <div class="categorie">/ DESIGN</div>
- </div>
- </div>
- <div class="project">
- <img src="images/project.png">
- <div class="title">Title Here
- <div class="categorie">/ DESIGN</div>
- </div>
- </div>
- <div class="project">
- <img src="images/project.png">
- <div class="title">Title Here
- <div class="categorie">/ DESIGN</div>
- </div>
- </div>
- <div class="project">
- <img src="images/project.png">
- <div class="title">Title Here
- <div class="categorie">/ DESIGN</div>
- </div>
- </div>
- <div class="project">
- <img src="images/project.png">
- <div class="title">Title Here
- <div class="categorie">/ DESIGN</div>
- </div>
- </div>
- <div class="project">
- <img src="images/project.png">
- <div class="title">Title Here
- <div class="categorie">/ DESIGN</div>
- </div>
- </div>
- <div class="project">
- <img src="images/project.png">
- <div class="title">Title Here
- <div class="categorie">/ DESIGN</div>
- </div>
- </div>
- <div class="project">
- <img src="images/project.png">
- <div class="title">Title Here
- <div class="categorie">/ DESIGN</div>
- </div>
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement