Diigo Bookmarks 09/09/2017
著
-
Introduction to HTML Components | Clean Rinse
"if you’re a Web developer, this should have given you some pause for thought. The modern Web Components pillars: Templates, Custom Elements, Shadow DOM, and Imports, were all features originally in IE5, released in 1999."
-
Accessible datepickers - Axess Lab
"Don’t force people to use the datepicker. Make it possible to write directly in the input field as well. And make sure the required format is specified in the label."
-
Remove Unused CSS Rules – Falkus.co
"There are also command line tools available to aid in finding unused style sheet rules. UnCSS is interesting as it fetches your page within phantomJS, with the intention that this will catch styles added by JavaScript."
-
Svelte • The magical disappearing UI framework
"The consequence of all this is the append-only stylesheet. There's no way of knowing which code can safely be removed, so it's common to undo some existing style with another, more specific style — even on relatively small projects."
-
"choices such as theme options are nice-to-haves and should only be implemented if it's possible to do so efficiently."
-
Using AMP for your AdWords Landing Pages | AdWords AMP Landing Pages | Google Developers
"This guide describes how to use AdWords and other advertising technology in your AMP pages."