Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * The first commented line is your dabblet’s title
- */
- body {
- background: #fff;
- }
- ul {
- margin: 200px 0 0;
- padding: 0;
- list-style-type: none;
- float: left;
- }
- li {
- float: left;
- margin: 0 0 0 30px;
- position: relative;
- }
- a {
- color: rgba(0,0,0,0.9);
- border-radius: 50%;
- background: rgba(255,255,255,1);
- width: 100px;
- height: 0;
- padding: 40px 0 60px;
- display: block;
- text-align: center;
- text-decoration: none;
- transition: all 0.2s ease-out;
- box-sizing: border-box;
- transform: rotate(-20deg);
- }
- span {
- background: white;
- width: 110px;
- height: 110px;
- display: block;
- position: absolute;
- top: -5px;
- left: -5px;
- z-index: -2;
- border-radius: 50%;
- transition: all 0.2s ease-out;
- /*border: 1px solid rgba(0,0,0,0.2);*/
- box-shadow: inset 0px 0px 1px rgba(0,0,0,0.3);
- }
- li:hover span {
- transform: scale(1.2);
- background: rgba(103,0,0,0.8);
- z-index: -1;
- box-shadow: inset 0px 0px 10px rgba(0,0,0,1);
- }
- li:hover a {
- transform: scale(0.8);
- box-shadow: 0px 0px 10px rgba(0,0,0,1);
- background:rgba(255,255,255,1);
- color: rgba(0,0,0,0.9);
- /*width: 80px;
- padding: 30px 0 50px;*/
- }
- li:hover a:active {
- transform: scale(0.7);
- }
Advertisement
Add Comment
Please, Sign In to add comment