Skip to content Skip to navigation

Border Hairline

CSS Class: 
.border-hairline
How this is used: 

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.

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.

Example: 

clouds

<p class="border-hairline">
<img alt="clouds" src="clouds.png" />
</p>
HTML Element: 
Category: