Adding boostrap button in my drupal 8 website

Practice makes perfect so explore more in the code which works.

<button type=”button” class=”btn btn-primary btn-lg btn-block”>Block level button</button>
<button type=”button” class=”btn btn-secondary btn-lg btn-block”>Block level button</button>

 

<a href=”/contact” class=”btn btn-primary btn-lg active” role=”button” aria-pressed=”true”>Primary link</a>
<a href=”/home” class=”btn btn-secondary btn-lg active” role=”button” aria-pressed=”true”>Link</a>

<a href=”/contact” button type=”button” class=”btn btn-primary btn-lg btn-block”>Block level button</button></a>

 

Sample:

<p><a button=”” class=”btn btn-primary btn-lg btn-block” href=”/form/itcourse” type=”button”>Registration for Endrollment</a></p>

 

Add your comments

Loading Facebook Comments ...

Leave a Reply

Your email address will not be published. Required fields are marked *


three + = 4