3 ms·
People keep telling me to use MDN but I find their sites bloated when I just want to quickly look something up (which is most often the case). Random examples:
by Kiro 13y ago
People keep telling me to use MDN but I find their sites bloated when I just want to quickly look something up (which is most often the case).
Random examples:
http://www.w3schools.com/cssref/sel_before.asp http://www.w3schools.com/cssref/sel_before.asp
vs
https://developer.mozilla.org/en-US/docs/Web/CSS/::before https://developer.mozilla.org/en-US/docs/Web/CSS/::before
http://www.w3schools.com/cssref/pr_background-repeat.asp http://www.w3schools.com/cssref/pr_background-repeat.asp
vs
https://developer.mozilla.org/en-US/docs/Web/CSS/background-repeat https://developer.mozilla.org/en-US/docs/Web/CSS/background-...
- antjanus 13y agoYeah, that's my thing. Within 0.2s, I get the w3schools result . It's the first one in google so I click it automatically. I've tried using other resources but I hate this whole "let me show you most of the site in 0.2s, anddddd let me load everything else for another 3" just to look pretty.
- sireat 13y agoSlightly offtopic, but when would you want to use a :before ? It looks something out of CSS:the bad parts,ie looks very hacky but apparently is standard.
- adregan 13y agoIf for some design reason you wanted to add curly quotes around all links “” or perhaps display an attribute of the link as a hover-able tooltip, it would be better to use pseudo elements rather than adding content for the sake of the design. Things that are subject to change and attributed to design choices rather than content choices are much easier to add and remove via `:before` or `:after` vs. going through the code and adding or removing elements.
- adregan 13y agoI try to use MDN as often as I can; however, MDN often obscures the immediately useful information under copious amounts of text while W3 schools usually offers a quick use case that pretty much covers it. eg. https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Storage https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/S... vs. http://www.w3schools.com/html/html5_webstorage.asp http://www.w3schools.com/html/html5_webstorage.asp Also, if I don't get there by google search, I have a really hard time following a tangential thread through MDN. I usually just open both resources—and often a third related blog post or SO question—and whichever one helps the best, I use.