laziel·Jun 22, 2016CSS background property in shorthandWhen using the shorthand property the order of the property values is:
laziel·Jun 22, 2016Object.create() vs new Fn way comparisonTL;DR: new Constructor seems to be the best option when you need somehow setup the created instance. Object.create() is much slower than…
laziel·May 12, 2016if your contentEditable does not working, check this out.Is CSS property -webkit-user-select:none; on the element or its ancestor elements? It prevents the cursor from ever being positioned within…
laziel·Apr 29, 2016When styleSheet.insertRule throws DOM 3 Exception“ Any @import rules must precede all other rules. @import rules must always be at the start so trying to insert other rules before is…
laziel·Feb 2, 2016Dynamically inserted stylesheets no longer block rendering in ChromeChrome would stop parsing HTML when downloading programmatically injected CSS before. But according to the HTML5 spec, the injected CSS…
laziel·Jan 11, 2016Github CornersBy using SVG, these corners can be clean and sharp. Any color, and size. the Octocat’s tail wagging animation has implemented with CSS…
laziel·Dec 22, 2015Colorify.jsColorify is a script written in Javascript, that allows you to extract colors from images, and manipulates them. From a simple plain color…A response icon1A response icon1
laziel·Dec 10, 2015CSS unit value in calc(), CSS variablesYou can use variables and calc() as unit value in native CSS like this: