Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Foundation Buttons

Foundation Buttons


Button styles

Foundation provides 6 button styles. .button class creates a blue button with padding. The different button color classes are: .secondary, .success, .info, .warning or .alert:

Example

<

button

type=

"button"

class=

"button"

Default

<

/button

<

button

type=

"button"

class=

"button secondary"

Secondary

<

/button

<

button

type=

"button"

class=

"button success"

Success

<

/button

<

button

type=

"button"

class=

"button info"

Info

<

/button

<

button

type=

"button"

class=

"button warning"

Warning

<

/button

<

button

type=

"button"

class=

"button alert"

Alert

<

/button

Try it »

Button classes can be used on ,