Friday, 17 July 2015

12 little css facts

  1. The border-radius property can use "Slash" syntax. 
  2. border-radius: 35px 25px 30px 20px / 35px 25px 15px 30px;
  3. The font-weight property accepts relative keywords.
  4. There is an outline-offset property.
  5. There is an table-layout property.
  6. The vertical-align property works differently on table cell vs. Other elements.
  7. The ::first-letter pseudo-element is smarter than you think.
  8. You can use invalid characters as delimiters in your HTML class lists.
  9. Animation shorthand can break because of the animation's name.
  10. You can select ranges of elements.
  11. Pseudo-element can be applied ot some void elements.
  12. Some attribute values are case insensitive in selectors.

No comments:

Post a Comment