Bootstrap: Add uncolored .btn example to docs.

Created on 15 Feb 2017  路  4Comments  路  Source: twbs/bootstrap

Just notice that we have a new or another color for buttons:

<button class="btn">link</button>

This button is like midtone grey. This one should be shown in the examples:

https://v4-alpha.getbootstrap.com/components/buttons/

docs v4

Most helpful comment

It's not, it's like saying that .btn-primary on itself is a correct style as well.

All 4 comments

That's not supposed to be used if I remember correctly. That is just the basic .btn-style that is used as a "reset style" (that's not the right word) for the other .btn-*-classes.

@Studio384 it is a style do. :)

It's not, it's like saying that .btn-primary on itself is a correct style as well.

.btn by itself is incomplete鈥攊t's what we call the base class. Base classes require modifier classes to apply additional styles on top of the shared ones in the base class. As such, there's nothing else to document here at this time.

Was this page helpful?
0 / 5 - 0 ratings