npm install pure-extras
You can fork it from Github too.
Originally written by Images
Styling of three different types are available for images, eliptical, rounded, bordered.
To use them, just add one of these classes to the
When using class
Add the class
Adding a
if you have YUI grids on the page, add Curabitur et sapien ac diam pharetra lacinia quis ac tortor. Suspendisse dictum fermentum dui at mollis. Nunc pulvinar blandit diam in vehicula.
To create a badge, use a
Create alerts by adding a class to it's The default alert can be set by adding the Alerts in red have the connotation of something going wrong. The error alert can be set by appending the If you want to send a warning notification, use the warning alert. It can be set by appending the Mission successful? Use the Success Alert! It can be set by appending the You have no new notifications. Receive notifications when you comment or discuss content with friends on Yahoo! You have no new notifications. Receive notifications when you comment or discuss content with friends on Yahoo! You have no new notifications. Receive notifications when you comment or discuss content with friends on Yahoo! You have no new notifications. Receive notifications when you comment or discuss content with friends on Yahoo! You can use grids within these contextual menus for interesting effects.
Secondary
Error
Success
Warning
Large buttons have twice the padding of regular buttons. Apply the <img>
tag
pure-img-eliptical
, if the width and height of the image
are equal, it will appear as a circle. Otherwise, it will appear as an ellipse.
Thumbnails
pure-thumbnails
to the container <ul>
,
Then add one of the classes, pure-thumb-eliptical
, pure-thumb-rounded
, or pure-thumb-bordered
, to the <a>
.
<div class="caption">
allows you to customize the thumbnail with additional content.
pure-u-*
for multi-column thumbnails that scale to fit the columns.
Thumbnail label
Badges
<span>
tag, and add one of the badge classes as shown below.
Alerts
<div>
.
Default Alert
pure-alert
class name.Error Alert
pure-alert-error
class name in addition to the pure-alert
class name.Warning Alert
pure-alert-warning
class name in addition to the pure-alert
class name.Success Alert
pure-alert-succes
class name in addition to the pure-alert
class name.Contextual Modals
Bottom Arrow
Left Arrow
Top Arrow
Right Arrow
Contextual Modals with Grids
You have mail.
Multiple Notification Sources.
Buttons
pure-button
provides the basic button styles, but CSSExtras adds more styling on top of that, as seen below.Button Types
Button Sizes
pure-button-large
class name.
Small buttons have half the padding of regular buttons. Apply the pure-button-small
class name.