Modesta v4.0.0

Buttons

Add btn to a link or button. Put buttons inside buttons to centre them and space them out, and add a colour class for the background.

<div class="buttons">
  <a class="btn blurple-bg white-text" href="#">Plain</a>
  <a class="btn hover blurple-dropshadow white-text" href="#">hover</a>
  <a class="btn hover-scale emerald-bg white-text" href="#">hover-scale</a>
  <a class="btn hover-scale-inset carrot-bg white-text" href="#">hover-scale-inset</a>
  <a class="btn no-dark-hover alizarin-bg white-text" href="#">no-dark-hover</a>
</div>
ClassDescription
buttonsCentres the buttons inside it. On small screens they wrap two per row
buttons.one-lineOn small screens, puts one button per row instead
btnThe button itself
btn.hoverFloats the button upwards on hover
btn.hover-scaleGrows the button on hover
btn.hover-scale-insetShrinks the button on hover
btn.animationSlides the buttons in one after another when the page loads
btn.no-dark-hoverTurns off the darkening on hover
btn.{colour}-dropshadowKeeps the drop shadow while hovering
Plays once when the page loads
<div class="buttons">
  <a class="btn animation sun-flower-bg black-text" href="#">One</a>
  <a class="btn animation sun-flower-bg black-text" href="#">Two</a>
  <a class="btn animation sun-flower-bg black-text" href="#">Three</a>
</div>

Source: scss/components/_buttons.scss