DEV Community

Tromo SM
Tromo SM

Posted on

How to fix these old style on your button

EXAMPLE

There are two ways

  1. If you have don't have a border or an outline please use this method
  2. If you have a border or an outline please use this method

**

  1. Method 1 use this css code in your css file
Border:none;
Outline:none;
Enter fullscreen mode Exit fullscreen mode
  1. Method 2 *the text in brackets are instructions for you
/*{If you don't have one of border or outline replace the brackets with "none"}*/
Border:{Replace this with your border};
Outline:{Replace this with your Outline}; 
Enter fullscreen mode Exit fullscreen mode

**

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more