Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .image{
- float: left;
- width: 50%;
- position: relative;
- }
- .image img{
- height: 100%;
- width: 100%;
- display: block;
- }
- .sport{
- position: absolute;
- background: rgba(0, 0, 0, 0.5);
- width: 98%;
- padding: 1%;
- text-align: center;
- top:90%;
- left: 50%;
- font-size: 20px;
- color: #fff;
- transform: translate(-50%, -50%);
- -ms-transform: translate(-50%, -50%);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement