plugin-icon

Pure Web Brilliant's CSS3 selectors for tags

Автор: kevinjohngallagher·
Adds classes to tags to allow child node selection without CSS3.
Версия
2.1
Последние изменения
Jul 8, 2012
Pure Web Brilliant's CSS3 selectors for  tags

Adds classes to

<

p> tags to allow child node selection without CSS3.

Information

Adds the following classes to paragraph tags:

  • paragraph-last
  • paragraph-number-X (e.g. paragraph-number-1)
  • first-p-since-a-heading

This allows for CSS2.1 rules to mimic CSS3 selectors for backward and mobile compatibility.

  • use «paragraph-number-X» instead of «p:first-child»
  • use «paragraph-last» instead of «p:last-child»

Arbitrary section

Kevinjohn Gallagher: Kevinjohn Gallagher

Agency: Pure Web Brilliant

Framework release blog post: Pure Web Brilliant’s plugin framework released

» I want to go on record thanking my colleagues and many of our current & past clients, who were (mostly) happy to negotiate changes in the licence of our past work so that we could make it open source. «

  • Package: Pure Web Brilliant
  • Version: 2.0.1
  • Author: Kevinjohn Gallagher framework@KevinjohnGallagher.com
  • Copyright: Copyright (c) 2012, Kevinjohn Gallagher
  • Link: http://KevinjohnGallagher.com
  • Licence: http://www.gnu.org/licenses/gpl-3.0.txt
Проверено на
WordPress 3.4.2
Этот плагин можно скачать и использовать при .