Sha256: 81dd5078146bad703b12cb88711eaad5ab5f9228519c2fe5cf42a66fe4e54c30
Contents?: true
Size: 1.16 KB
Versions: 35
Compression:
Stored size: 1.16 KB
Contents
--- layout: default title: "Flash" date: 2013-05-17 23:24:04 --- Flash ===== The `.flash` class is a general style for all user messages. Basic ----- <div class="flash"> <div class="flash-item">This is a flash message</div> </div> ~~~html <div class="flash"> <div class="flash-item">This is a flash message</div> </div> ~~~ Colors ------- <div class="flash"> <div class="flash-item notice">This is a notice message</div> <div class="flash-item warning">This is a warning message</div> <div class="flash-item error">This is an error message</div> </div> ~~~html <div class="flash"> <div class="flash-item notice">This is a notice message</div> <div class="flash-item warning">This is a warning message</div> <div class="flash-item error">This is an error message</div> </div> ~~~ Close button ------------ You can add a close button with the `.flash-close` class. <div class="flash"> <div class="flash-item">This is a message<a href="#" class="flash-close"><i class="icon-remove"></i></a></div> </div> ~~~html <div class="flash"> <div class="flash-item"> This is a message <a href="#" class="flash-close"><i class="icon-cross-3"></i></a> </div> </div> ~~~
Version data entries
35 entries across 35 versions & 1 rubygems