CSS - Circular drop menu
How do I make an css - circular drop menu?
Menu with circle shape that appears when you hover it. What is a css - circular drop menu? How do you make a css - circular drop menu? This script and codes were developed by Oloman on 22 August 2022, Monday.
CSS - Circular drop menu - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>CSS - Circular drop menu</title> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */
ul.abanico { position: relative; width: 500px; margin: 50px auto; height: 120px; overflow: hidden; list-style: none; font: normal 12px "arial narrow", sans-serif;
}
ul.abanico li { position: absolute; bottom: 0; left: 50%; width: 88px; height: 300px; margin-left: -44px; line-height: 300px; text-align: center; box-sizing: border-box; -moz-transform-origin: top center; -webkit-transform-origin: top center; transform-origin: top center; -moz-transition: all .6s ; -webkit-transition: all .6s ; transition: all .6s ;
}
ul.abanico li a { display: inline-block; width: 100%; height: 48px; text-decoration: none; background: blue; color: white; line-height: 40px; vertical-align: bottom; border: 4px solid #ddd; border-radius: 30px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; -moz-transition: all .6s ; -webkit-transition: all .6s ; transition: all .6s ;
}
ul.abanico:hover li a { background: purple;
}
ul.abanico:hover li { opacity: 1;
}
ul.abanico:hover li:nth-of-type(6) { opacity: 0;
}
ul.abanico:hover li:nth-of-type(1) { -moz-transform: rotate(36deg); -webkit-transform: rotate(36deg); transform: rotate(36deg);
}
ul.abanico:hover li:nth-of-type(2) { -moz-transform: rotate(18deg); -webkit-transform: rotate(18deg); transform: rotate(18deg);
}
ul.abanico:hover li:nth-of-type(3) { -moz-transform: rotate(-18deg); -webkit-transform: rotate(-18deg); transform: rotate(-18deg);
}
ul.abanico:hover li:nth-of-type(4) { -moz-transform: rotate(-36deg); -webkit-transform: rotate(-36deg); transform: rotate(-36deg);
}
ul.abanico:hover li:nth-of-type(5) { z-index: 1; -moz-transform: rotate(0deg); -webkit-transform: rotate(0deg); transform: rotate(0deg);
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <ul class="abanico"> <li><a href="">INICIO</a></li> <li><a href="">TRABAJOS</a></li> <li><a href="">REFERENCIAS</a></li> <li><a href="">CONTACTO</a></li> <li><a href="">ACERCA DE</a></li> <li><a href="javascript:void();">MENU</a></li>
</ul> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>
CSS - Circular drop menu - Script Codes CSS Codes
ul.abanico { position: relative; width: 500px; margin: 50px auto; height: 120px; overflow: hidden; list-style: none; font: normal 12px "arial narrow", sans-serif;
}
ul.abanico li { position: absolute; bottom: 0; left: 50%; width: 88px; height: 300px; margin-left: -44px; line-height: 300px; text-align: center; box-sizing: border-box; -moz-transform-origin: top center; -webkit-transform-origin: top center; transform-origin: top center; -moz-transition: all .6s ; -webkit-transition: all .6s ; transition: all .6s ;
}
ul.abanico li a { display: inline-block; width: 100%; height: 48px; text-decoration: none; background: blue; color: white; line-height: 40px; vertical-align: bottom; border: 4px solid #ddd; border-radius: 30px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; -moz-transition: all .6s ; -webkit-transition: all .6s ; transition: all .6s ;
}
ul.abanico:hover li a { background: purple;
}
ul.abanico:hover li { opacity: 1;
}
ul.abanico:hover li:nth-of-type(6) { opacity: 0;
}
ul.abanico:hover li:nth-of-type(1) { -moz-transform: rotate(36deg); -webkit-transform: rotate(36deg); transform: rotate(36deg);
}
ul.abanico:hover li:nth-of-type(2) { -moz-transform: rotate(18deg); -webkit-transform: rotate(18deg); transform: rotate(18deg);
}
ul.abanico:hover li:nth-of-type(3) { -moz-transform: rotate(-18deg); -webkit-transform: rotate(-18deg); transform: rotate(-18deg);
}
ul.abanico:hover li:nth-of-type(4) { -moz-transform: rotate(-36deg); -webkit-transform: rotate(-36deg); transform: rotate(-36deg);
}
ul.abanico:hover li:nth-of-type(5) { z-index: 1; -moz-transform: rotate(0deg); -webkit-transform: rotate(0deg); transform: rotate(0deg);
}
Developer | Oloman |
Username | oloman |
Uploaded | August 22, 2022 |
Rating | 3 |
Size | 2,590 Kb |
Views | 38,456 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
CSS - Colorful fan menu | 2,414 Kb |
Book 3D | 3,653 Kb |
Before-After TwentyTwenty jQuery plugin | 6,257 Kb |
Scotch tape css effect | 2,726 Kb |
Responsive video loader | 3,643 Kb |
CSS Drop cards Social buttons | 3,502 Kb |
CSS responsive football pitch | 3,213 Kb |
CSS Responsive accordion social buttons | 3,606 Kb |
Testing. Backup feed main data | 2,638 Kb |
Simplest RWD jQuery slider | 3,725 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Playing with transition timing | Mattgrosswork | 1,993 Kb |
CardMove | Thompsonemerson | 3,699 Kb |
Formations | Cantelope | 5,731 Kb |
CSS3 Butterfly | Timohausmann | 3,430 Kb |
Count up | Alanshortis | 2,391 Kb |
Commuter Line Tokyu 8500 | Pedox | 7,031 Kb |
Modal Dialog | Gigaleet | 2,251 Kb |
Heatmap Color Scales | Stevepepple | 2,331 Kb |
Css Rotating 3d cubes different speed | Dghez | 2,364 Kb |
Hoi hoi | JohnTheCat | 7,248 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!