...

/

Adding Styling

Adding Styling

This lesson will help you learn how to make your tooltip look pretty so it delivers a great user experience!

Styling

Let’s put the finishing touches to our component.

We’ll start with the styling. Comparing the tooltip we’ve built to the model Medium has, I notice they add some rounded corners, add some padding, and use a dimmer color for the divider, so it doesn’t stand out so much as our’s does.

Changelist

  • Defined a divider color.
    • Sometimes, even if something is used once,
...