Sha256: 3586c1e363d8af97d49187b89a640fcbbd645a907d11f8cdbdc6d4351011e0cb
Contents?: true
Size: 1.16 KB
Versions: 54
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-cross-3"></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
54 entries across 54 versions & 1 rubygems