跳到内容

Pure Web Brilliant's CSS3 selectors for tags

v2.1

kevinjohngallagher · 2012年6月19日 上架

Adds classes to tags to allow child node selection without CSS3.

正在使用
10 以下
评分
暂无
累计下载
1,428
最近更新
2012年7月9日
需要 WordPress 3.0+已测试到 3.4.2

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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums