Web performance css right to left
Download
1 / 8

Web Performance CSS Right to Left - PowerPoint PPT Presentation


  • 99 Views
  • Uploaded on

Web Performance CSS Right to Left. Jeremy Solarz @jeremysolarz. https://developer.mozilla.org/en-US/docs/CSS/Writing_Efficient_CSS?redirectlocale=en-US&redirectslug=Writing_Efficient_CSS#How_the_Style_System_Matches_Rules.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Web Performance CSS Right to Left' - bayard


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Web performance css right to left

Web Performance CSS Right to Left

Jeremy Solarz

@jeremysolarz

Web Performance Group @ Meetup


https://developer.mozilla.org/en-US/docs/CSS/Writing_Efficient_CSS?redirectlocale=en-US&redirectslug=Writing_Efficient_CSS#How_the_Style_System_Matches_Ruleshttps://developer.mozilla.org/en-US/docs/CSS/Writing_Efficient_CSS?redirectlocale=en-US&redirectslug=Writing_Efficient_CSS#How_the_Style_System_Matches_Rules

“The style system matches rules by starting with the key selector, then moving to the left (looking for any ancestors in the rule’s selector). As long as the selector’s subtree continues to check out, the style system continues moving to the left until it either matches the rule, or abandons because of a mismatch.”

Web Performance Group @ Meetup


Example
Examplehttps://developer.mozilla.org/en-US/docs/CSS/Writing_Efficient_CSS?redirectlocale=en-US&redirectslug=Writing_Efficient_CSS#How_the_Style_System_Matches_Rules

http://stevesouders.com/efws/css-selectors/descendant.php

Web Performance Group @ Meetup


Reflow in mozilla
Reflow in Mozillahttps://developer.mozilla.org/en-US/docs/CSS/Writing_Efficient_CSS?redirectlocale=en-US&redirectslug=Writing_Efficient_CSS#How_the_Style_System_Matches_Rules

http://www.youtube.com/watch?feature=player_embedded&v=ZTnIxIA5KGw

http://snook.ca/archives/html_and_css/css-parent-selectors

Web Performance Group @ Meetup


Now we know
Now we know…https://developer.mozilla.org/en-US/docs/CSS/Writing_Efficient_CSS?redirectlocale=en-US&redirectslug=Writing_Efficient_CSS#How_the_Style_System_Matches_Rules

  • Why CSS at the top

  • Don’t use div#id, h1 div, etc.

  • The “key selector” is key

  • Think about your jQuery selectors ;)

Web Performance Group @ Meetup


Online
Onlinehttps://developer.mozilla.org/en-US/docs/CSS/Writing_Efficient_CSS?redirectlocale=en-US&redirectslug=Writing_Efficient_CSS#How_the_Style_System_Matches_Rules

Simplifying CSS Selectors, http://www.stevesouders.com/blog/2009/06/18/simplifying-css-selectors/

Google Efficient CSS, https://developers.google.com/speed/docs/best-practices/rendering#UseEfficientCSSSelectors

Google best practices, https://developers.google.com/speed/docs/best-practices/rendering?hl=de

CSSLint, http://csslint.net/

Web Performance Group @ Meetup

6


?https://developer.mozilla.org/en-US/docs/CSS/Writing_Efficient_CSS?redirectlocale=en-US&redirectslug=Writing_Efficient_CSS#How_the_Style_System_Matches_Rules

Web Performance Group @ Meetup


Last words

Last wordshttps://developer.mozilla.org/en-US/docs/CSS/Writing_Efficient_CSS?redirectlocale=en-US&redirectslug=Writing_Efficient_CSS#How_the_Style_System_Matches_Rules

Please review the meetup on,

http://www.meetup.com/Vienna-Web-Performance-Group/events/100038222/

Next Meetup: 20.03.2013

Web Performance Group @ Meetup


ad