![]() |
VOOZH | about |
Bulma is a free and open-source CSS framework that has prebuilt components like buttons, icons, etc. to make web development faster.
In this article, we will see how to use fixed square images in Bulma. Fixed Square Images In Bulma are fixed dimensions image containers that can be useful in specific places like avatars. These classes are used on the figure element, along with the image modifier, which wraps the image element.
Bulma Fixed Square Images Classes:
Syntax:
<figure class="image is-64x64"> <!-- THis image will be 64px * 64px in size --> <img src="./link-to-image"> </figure>
Below example illustrate the Bulma Fixed square images:
Example: The below example illustrates the use of the fixed square image classes in Bulma.
Output:
👁 Bulma Fixed square imagesReference: https://bulma.io/documentation/elements/image/#fixed-square-images