Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .container {
- position:relative;
- display:block;
- height:0;
- width:93%;
- padding-bottom:65%;
- background-color: white;
- margin: auto;
- margin-bottom: 5%;
- border-style: solid;
- border-width: 2px;
- border-color: #2C9DE4;
- border-radius: 3%;
- box-shadow: 0px 1px 8px gray;
- -webkit-transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
- }
- .container::after {
- -webkit-transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
- box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
- opacity: 0;
- }
- .container:hover {
- -webkit-transform: scale(1.25, 1.25);
- z-index: 2;
- }
- .container:hover::after{
- opacity: 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement