masakudamatsu / line-height-picker

A front-end web app that helps web designers/developers pick the best line-height value for their websites
https://line-height-picker.vercel.app
MIT License
2 stars 1 forks source link

Style the font name display, sample paragraphs and CSS code #183

Closed masakudamatsu closed 4 years ago

masakudamatsu commented 4 years ago

These three elements are the most important feedback to the user.

We apply the linear light at the top and bottom of these elements.

The linear light is defined as:

  background: hsla(0, 0%, 100%, 0.9);
  box-shadow: 0 0 10px 0 hsla(0, 0%, 100%, 0.9),
    0 0 20px 0 hsla(0, 0%, 100%, 0.9), 0 0 40px 0 hsla(0, 0%, 100%, 0.9);
  height: 1px;
  width: 100%;

Previously, we tried the cove lighting effect: https://codepen.io/masakudamatsu/pen/wvKjLZY