You are tasked with creating a button that has a double border with two different colors. How would you achieve this effect using CSS?

  • border: 2px solid red, 1px solid blue;
  • border: 2px solid red; border-bottom: 1px solid blue;
  • border: 2px solid red; border-width: 1px; border-color: blue;
  • border: 2px solid red; border: 1px solid blue;
To create a button with a double border and two different colors, you can use the border property with a combination of values for width and color. For example: border: 2px solid red; border: 1px solid blue; This applies a double border with the specified colors.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *