Linking SASS breakpoints to JS via CSS

//kudos to Justin Avery $breakpoints: ( xs: 0, s: 34.375em, m: 45em, l: 60em, xl: 72em ); body::after { content: '#{inspect($breakpoints)}'; display: none; }
Linking SASS breakpoints to JS via CSS, using sass's inspect function. Output will be content: "(xs: 0, s: 34.375em, m: 45em, l: 60em, xl: 72em)"

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.