Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @charset"UTF-8";
- body{
- background-image:url("imagem/arcuires.JPG");
- }
- p{
- text-align:justify;
- text-indent: 70px;
- }
- figure.foto-legenda{
- display:inline-block;
- position: relative;
- border:8px solid white;
- box-shadow: 1px 1px 8px black;
- }
- figure.foto-legenda img{
- width:100%;
- height:100%;
- }
- figure.foto-legenda figcaption{
- opacity:0;
- position:absolute;
- top:0px;
- background-color:rgba(0,0,0,.4);
- color: white;
- width:100%;
- height:100%;
- padding:10px;
- box-sizing:border-box;
- transition: opacity 1s;
- }
- figure.foto-legenda:hover figcaption{
- opacity:1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement