Web performance css right to left
This presentation is the property of its rightful owner.
Sponsored Links
1 / 8

Web Performance CSS Right to Left PowerPoint PPT Presentation


  • 75 Views
  • Uploaded on
  • Presentation posted in: General

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.

Download Presentation

Web Performance CSS Right to Left

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


Web performance css right to left

https://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

Example

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

Web Performance Group @ Meetup


Reflow in mozilla

Reflow in Mozilla

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…

  • 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

Online

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


Web performance css right to left

?

Web Performance Group @ Meetup


Last words

Last words

Please review the meetup on,

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

Next Meetup: 20.03.2013

Web Performance Group @ Meetup


  • Login