Results for "CSS"

Tags

    • Kyle

      Applying styles to selectors - insertRule()

      Taken from https://davidwalsh.name/essential-javascript-functions "...we can grab a NodeList from a selector (via document.querySelectorAll) and give each of them a style, but what's more efficient is setting that style to a selector (like you do in a stylesheet)... This is espec...

      Tags: examples, CSS, davidwalsh.name