Something went wrong. Try again.
My #100DaysOfCode Challenge starting today! This repository is to dump most of the scrap/test project works done during the challenge.
Something went wrong. Try again.
123456789101112131415161718192021222324252627.overlay { position: absolute; top: 0; bottom: 0; left: 0; right: 0; height: 100%; width: 100%; opacity: 0; transition: .5s ease; background-color: #000; }
.cont:hover .overlay { opacity: 0.75; }
.text { color: white; position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); text-align: center; }