VOOZH about

URL: https://www.geeksforgeeks.org/css/bulma-image/

⇱ Bulma | Image - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Bulma | Image

Last Updated : 18 Jun, 2020
Bulma is a free and open-source CSS framework based on Flexbox. It is component rich, compatible, and well documented. It is highly responsive in nature. It uses classes to implement its design. The image class is kind of a container since images took few minutes to load, an image container is reserved space for that image so that website's layout not going to break while image loading or even in image errors. Example 1: This example using Bulma to display the image. Output: 👁 Image
Example 2: This example using Bulma to display loading error or image error. Output: 👁 Image
Explanation: Bulma image class acts as a container that reserved space for the image so that website layout is not going to break even when image error occurs. Here we provide a false image URL but in spite of that space is reserved for the image to load. Example 3: This example using Bulma to create a rounded Image. Output: 👁 Image
Example 4: This example using Bulma to create different size of images. Output: 👁 Image
Example 5: This example uses Bulma to create a responsive image with aspect ratio. Output: 👁 Image
Example 6: This example uses Bulma to create a responsive image with aspect ratio. Output: 👁 Image
Example 7: This example uses Bulma to create a responsive image with aspect ratio. Output: 👁 Image
Note: Here in all the above examples, we use some extra Bulma classes like container, column, title, table, etc. to design the content well.
Comment
Article Tags: