Skip to content

Instantly share code, notes, and snippets.

@apprentice1988
Last active January 3, 2016 20:39
Show Gist options
  • Select an option

  • Save apprentice1988/8516612 to your computer and use it in GitHub Desktop.

Select an option

Save apprentice1988/8516612 to your computer and use it in GitHub Desktop.

Revisions

  1. apprentice1988 revised this gist Jan 20, 2014. 2 changed files with 0 additions and 1 deletion.
    File renamed without changes.
    1 change: 0 additions & 1 deletion gistfile2.txt
    Original file line number Diff line number Diff line change
    @@ -1 +0,0 @@
    在comment处添加属性,后面的以'button-'开始的css都会自动继承该属性。
  2. apprentice1988 created this gist Jan 20, 2014.
    5 changes: 5 additions & 0 deletions gistfile1.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    [class*=“button-“] {
    /* base button properties */
    }
    .button-primary { ... }
    .button-plain { ... }
    1 change: 1 addition & 0 deletions gistfile2.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    在comment处添加属性,后面的以'button-'开始的css都会自动继承该属性。