79510866

Date: 2025-03-15 09:10:29
Score: 0.5
Natty:
Report link

This works! Are you trying to get rid of the checkbox? If so, try this after your breakpoint:

/* Getting rid of the checkbox's view */
nav input[type='checkbox'], nav label {
  display: none;
}

I am currently developing my ePortfoli; and I noticed that the checkbox was in view for a larger breakpoint than what I was working on for my @media query (max width 320); and it works fine. I am still developing my site for mobile responsiveness; so you will be able to see the difference of where I applied that code in certain breakpoints vs not applying it in others to hide my checkbox used for my hamburger menu (which proves the code works!). You can check out my site and use Google Chrome Developer Tools: https://scn.ninja/

I even proved and something about this in my repository: https://github.com/supercodingninja/ePortfolio/blob/main/style.css

Reasons:
  • Whitelisted phrase (-1): try this
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @media
  • Low reputation (1):
Posted by: The Super Coding Ninja