Tutorialsplane

Bulma change background color


You can change background color of any element like – section, column or any other layout component using your custom class.


Bulma change background color CSS Example

You can create your custom class to change the background color simply as below-

Example:



   
      <meta charset="utf-8"/>
      <meta name="viewport" content="width=device-width, initial-scale=1"/>
      <title>Bulma Tutorial!</title>
   
      
    
   
   
          <section class="section custom-bg"> 
			  <h2>Welcome to Bulma!</h2>
	      </section>
   
                                                                                    
                                                                                    

Try it »

Output of above example-