Want to take your software engineering career to the next level? Join the mailing list for career tips & advice Click here


Common reasons your HTML and CSS may be fucked.

Subscribe to updates I use wtf-html-css

Statistics on wtf-html-css

Number of watchers on Github 1363
Number of open issues 19
Average time to close an issue about 1 month
Main language CSS
Average time to merge a PR 10 days
Open pull requests 3+
Closed pull requests 5+
Last commit over 3 years ago
Repo Created over 6 years ago
Repo Last Updated over 2 years ago
Size 52 KB
Homepage http://wtfhtmlcss...
Organization / Authormdo
Latest Releasev1.0.0
Page Updated
Do you use wtf-html-css? Leave a review!
View open issues (19)
View wtf-html-css activity
View on github
Book a Mock Interview With Me (Silicon Valley Engineering Leader, 100s of interviews conducted)
Software engineers: It's time to get promoted. Starting NOW! Subscribe to my mailing list and I will equip you with tools, tips and actionable advice to grow in your career.
Evaluating wtf-html-css for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)


WTF, HTML and CSS? is a list of reasons HTML and CSS might make you say what the fuck. It's a curated list of commonly frustrating HTML and CSS quandaries, miscues, and dilemmas, created with the goal of making them less common.

Start reading


Open an issue or a pull request to suggest changes or additions.


MIT licensed. Copyright 2014 @mdo.


Translations are maintained by their creators and may not always be up to date with the original here.

Have a translation you'd like to link to? Open a pull request to add it here. Be sure to keep it alphabetical.


wtf-html-css open issues Ask a question     (View All Issues)
  • over 4 years Replaced elements absolutely positionned
  • about 6 years transparent in Firefox css gradients
  • over 6 years "Rem units and Mobile Safari" should mention affected iOS version
  • over 6 years input buttons line-height fix shipped in Firefox 30.0
  • over 6 years Apple iOS Safari Bug Report for rem issue
  • over 6 years Gradients cannot be transitioned
  • over 6 years Letter spacing and margins
  • over 6 years a:visited styling is very limited and computed styles are not reported properly
  • over 6 years stickiness of :hover on mobile browsers
  • over 6 years mention z-index and stacking contexts?
  • over 6 years Firefox and absolute positioning in table cells
  • over 6 years About `rem` units in media query
  • over 6 years Inline elements and margin/padding
  • over 6 years Can't have a non-underlined pseudoelement for an underlined element
  • over 6 years inline-block spacing
wtf-html-css open pull requests (View All Pulls)
  • Adding overview of z-index, and the aspects of it that can catch you out...
  • ::before and ::after pseudo-elements
  • Fix misleading advice about <button> types
wtf-html-css list of languages used
wtf-html-css latest release notes
v1.0.0 v1.0.0

For historical purposesessentially the initial release.

Other projects in CSS
Powered by Autocode - Instant Webhooks, Scripts and APIs
Autocode logo wordmark