Skip to content

Instantly share code, notes, and snippets.

@muramoto1041
Last active April 29, 2021 01:17
Show Gist options
  • Save muramoto1041/17f44a84c2be007edeaee95898263c9c to your computer and use it in GitHub Desktop.
Save muramoto1041/17f44a84c2be007edeaee95898263c9c to your computer and use it in GitHub Desktop.
pull-down_menu.css
/* </system> */
@media screen and (min-width: 1024px) {
.main-navigation {
text-align: center;
}
}
<!-- メニューバー -->
#manubar{
width:80%; }
#menubar ul{
display:table;
width:100%;
margin: 20;
padding: 20;
background-color: #FFFFFF; }
#menubar li{
display: table-cell;
width:40%;
background-color: #000000; }
#menubar li a{
display: block;
margin:0 auto;
width:15%;
padding:15px;
border: 1px solid #FFFFFF;
text-decoration: none;
color: #FFFFFF;
text-align: center;
font-size: 20px; }
#menubar li a:hover{
background-color: #333333; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment