Tagged: CSS

Questions & Answers

How can I add keyboard only focus styling?

I would like to add focus states for interactive elements on my website, however I don't want the styling I add to apply when clicking on elements. If I just use :focus in my css I see the styles come through when clicking elements, or...

  • CSS
  • focus
  • keyboard

Minimum font size?

I like the look of smaller text on the web. And even if the text is pretty normal size, some subheadings or small bits of info look nice if they are much smaller (thinking 12px or so). Is there a minimum font size that is...

  • CSS
  • text

Does my site need to be usable if the CSS and javascript doesn’t load?

I've always wondered this but never really known for sure. Let's say none of my CSS or javascript loads. Does the site still need to be usable? I know a lot of really big sites are useless without CSS and javascript so I'm betting the...

  • best practices
  • CSS
  • html
  • javascript
  • page structure