Skip to content

Instantly share code, notes, and snippets.

@cheft
Created April 21, 2016 08:41
Show Gist options
  • Select an option

  • Save cheft/488d9f6c759157c1cdc0b118932e0428 to your computer and use it in GitHub Desktop.

Select an option

Save cheft/488d9f6c759157c1cdc0b118932e0428 to your computer and use it in GitHub Desktop.

Revisions

  1. cheft created this gist Apr 21, 2016.
    15 changes: 15 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    <div class="alertify-content">
    <i class="alertify-icon glyphicon glyphicon-remove-circle"></i>
    上面标签可以是图片,也可以是图标,任意
    </div>

    .alertify-content {
    display: table;
    }

    .alertify-icon {
    vertical-align: middle;
    display: table-cell;
    width: 32px;
    font-size: 24px;
    }