Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .carousel-caption {
- position: absolute;
- right: 0;
- top: 0;
- bottom: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background: rgba(0,0,0,0.3);
- }
- .carousel-caption h2 {
- position: absolute;
- color: #f0f8ff;
- /* top: 0; */
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- font-size: 6rem;
- text-transform: capitalize;
- font-weight: bolder;
- text-shadow: 0 0 3px white;
- }
Add Comment
Please, Sign In to add comment