Skip to content Skip to navigation

Site Retired

As of March, 2022, this website is no longer updated and has been replaced with a static copy.

div

Border Underline

This class adds a 4px border below an image that does not touch the image. This class is not as useful in combination with other image classes.

Because of the way Drupal works, we built this style to only be applied to wrapper tags around image tags. These classes will not work if you apply them to the image tag itself, but can work at any level of wrapper div around the image. For example at the block level you can apply the border class once, and all images in the block will get that style.

Border Bottom

This class adds a 1px border below the image using the border class. This class can be used in combination with other border classes, such as .border-simple, .border-simple-nowidth, and .border-shadow.

Border Hairline

This class adds a 1px border around images by using the border class.

This class can be used in combination with other border classes, such as .border-simple, .border-simple-nowidth, and .border-shadow.

Border Shadow

This class adds a CSS3 shadow below the image.

This class can be used in combination with other border classes, such as .border-simple, .border-hairline, .border-bottom, and .border-simple-nowidth.

Border Simple No Width

This class adds a 6px border around images by using background color and padding. It does not add any width specification, so is a useful alternative when you are using this style in a postcard layout.

Because this class uses a background color to add the border, it can be used in combination with other border classes, such as .border-hairline, .border-shadow, and .border-bottom.

Border Simple

This class adds a 6px border around images by using background color and padding. It does add a 100% width to the image as well, and uses a clever calc() calculation with graceful degredation.

Because this class uses a background color to add the border, it can be used in combination with other border classes, such as .border-hairline, .border-shadow, and .border-bottom.

Postcard Right

Postcard layouts are micro-layouts where you want thumbnail images, or other elements side-by-side next to a block of text. To implement a postcard layout, you need to structure your code in a very specific way, as shown in the example (add the postcard class to a div wrapper, with two divs inside it). The .postcard-right class does not allow for wrapping.

Postcard Right Wrap

Postcard layouts are micro-layouts where you want thumbnail images, or other elements side-by-side next to a block of text. To implement a postcard layout, you need to structure your code in a very specific way, as shown in the example (add the postcard class to a div wrapper, with two divs inside it). The .postcard-right-wrap class allows the text to wrap around the image.

Postcard Left

Postcard layouts are micro-layouts where you want thumbnail images, or other elements side-by-side next to a block of text. To implement a postcard layout, you need to structure your code in a very specific way, as shown in the example (add the postcard class to a div wrapper, with two divs inside it). The .postcard-left class does not allow for wrapping.

Pages

Subscribe to RSS - div