Responsive CSS Menu

Size
2,559 Kb
Views
30,360

How do I make an responsive css menu?

Really simple responsive menu for small screens. What is a responsive css menu? How do you make a responsive css menu? This script and codes were developed by Rosh Jutherford on 04 September 2022, Sunday.

Responsive CSS Menu Previews

Responsive CSS Menu - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Responsive CSS Menu</title> <link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <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! */ html,body{ background:#3498db; font-family: 'HelveticaNeue-UltraLight', 'Helvetica Neue UltraLight', Roboto, Arial, Sans-serif; font-size:30px; width:100%; height:100%;
}
ul{ list-style:none; padding:0; color:#ecf0f1;
}
i{ color:#ecf0f1;
}
li i{ font-size:24px; margin-right:10px;
}
li{ box-sizing: border-box; display:block; float:left; width:16.66%; padding:10px; background:#2980b9; text-align:center; border:1px solid rgba(0,0,0,0.1);
}
.menu:hover, li:hover{ -webkit-filter:brightness(105%); cursor:pointer;
}
.menu{ display:none;
}
@media all and (max-width:700px){ html{ background:#f1c40f; } li{ width:100%; background:#f39c12; border:1px solid #e67e22; } ul{ display:none; } .menu{ display:block; width:100%; background:#f39c12; padding:10px; text-align:center; } .menu:hover + ul, ul:hover{ display:block; }
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="menu"><i class="icon-reorder"></i></div>
<ul> <li>Home</li> <li>portfolio</li> <li>about</li> <li>Contact</li> <li>Links</li> <li>Blog</li>
</ul> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>

Responsive CSS Menu - Script Codes CSS Codes

html,body{ background:#3498db; font-family: 'HelveticaNeue-UltraLight', 'Helvetica Neue UltraLight', Roboto, Arial, Sans-serif; font-size:30px; width:100%; height:100%;
}
ul{ list-style:none; padding:0; color:#ecf0f1;
}
i{ color:#ecf0f1;
}
li i{ font-size:24px; margin-right:10px;
}
li{ box-sizing: border-box; display:block; float:left; width:16.66%; padding:10px; background:#2980b9; text-align:center; border:1px solid rgba(0,0,0,0.1);
}
.menu:hover, li:hover{ -webkit-filter:brightness(105%); cursor:pointer;
}
.menu{ display:none;
}
@media all and (max-width:700px){ html{ background:#f1c40f; } li{ width:100%; background:#f39c12; border:1px solid #e67e22; } ul{ display:none; } .menu{ display:block; width:100%; background:#f39c12; padding:10px; text-align:center; } .menu:hover + ul, ul:hover{ display:block; }
}
Responsive CSS Menu - Script Codes
Responsive CSS Menu - Script Codes
Home Page Home
Developer Rosh Jutherford
Username the_ruther4d
Uploaded September 04, 2022
Rating 3.5
Size 2,559 Kb
Views 30,360
Do you need developer help for Responsive CSS Menu?

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!

Rosh Jutherford (the_ruther4d) Script Codes
Create amazing Facebook ads with AI!

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!