From bb85717caca2aba7bb3359efd337bf3114619a24 Mon Sep 17 00:00:00 2001 From: Tommy Parnell Date: Wed, 20 Feb 2019 10:55:48 -0500 Subject: [PATCH] Update README.md css --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 6bd0e10..5acd6b9 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,14 @@ A checklist to make sure you website will be fast! * Universal selectors like `*, [disabled], [type=“text”]`, etc. are very expensive for the browser to match, as every element in the DOM must be checked. * Avoid deeply nested dependent selectors * The descendant selector is very costly, as the browser must check for a match with every descendant element. On a complex web page, this can result in thousands and thousands (perhaps even more) of descendant selector searches. +* Use media queries to load files based on use case + +```css + + + + +``` ## JS