Sunday, June 4, 2017

some Bootstrap stuff

I've been going through a tutorial on Angular 4 and, honestly, this weekend I mostly just learned about Bootstrap. Some class settings:

  • navbar navbar-default
  • navbar-header
  • collapse navbar-collaspe (for collapsible stuff)
  • caret (chases the element in the tag with a downwards pointing arrow)

 
 

class="dropdown-toggle" role="button"> at a tag seems to give/get the cursor:pointer; (yes, you may touch me) styling, and <div class="row"> seems to commonly wrap other gunk where widths are set. Stuff can float left and float right like this:

<span class="pull-left">foo</span>
<span class="pull-right">bar</span>

 
 

Some classes for buttons are:

  • btn btn-success (green)
  • btn btn-primary (blue)
  • btn btn-danger (red)

 
 

I think by default the buttons are just grey.

No comments:

Post a Comment