Answers for "link menu icon"

CSS
0

how can i make a menu bar appear by clicking an icon? in css?

/*you can use the :checked or the :focus property on the icon you want the user to click and than change the display of the menu from none to whatver you want*/
#yourmenu{
  /*style*/
  display: none;
}
#yourbutton{
  /*style*/
}
#yourbutton:checked > yourmenu{
  display: block;/*whathever value you want*/
}
/*sorry for the shitty english, hope to help someone with this concept*/
Posted by: Guest on January-26-2021

Browse Popular Code Answers by Language