Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .container .box_A,
- .container .box_B {
- width: 50%;
- overflow: hidden;
- height: 100%;
- -webkit-font-smoothing: antialiased;
- -webkit-transition: all .3s;
- -moz-transition: all .3s;
- -o-transition: all .3s;
- transition: all .3s;
- }
- .container:hover .box_A ,
- .container:hover .box_B {
- width: 0%;
- }
- .container:hover .box_A:hover ,
- .container:hover .box_B:hover {
- width: 100%;
- }
- <div class="container">
- <div class="box_A"></div>
- <div class="box_B"></div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement