Skip to content

Instantly share code, notes, and snippets.

@jmacqueen
Last active July 27, 2021 16:07
Show Gist options
  • Save jmacqueen/09a4c02793865edb935234d0636777f7 to your computer and use it in GitHub Desktop.
Save jmacqueen/09a4c02793865edb935234d0636777f7 to your computer and use it in GitHub Desktop.
CSS Exercise

The Task

Given the HTML markup:

<button class="checkout-btn">
  checkout
</button>

Without changing the HTML, make the button look reasonably similar to the screenshot below. It doesn't have to have pixel-perfect measurements. Feel free to use Google. Try not to spend more than an hour on it. The colors used are: lightsteelblue, steelblue, white and darkslategray and the font is whatever sans-serif floats your boat.

ugly button

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment