Friday, January 4, 2019

If you put both a border and an outline on a div in CSS the border will wrap the div and the outline will wrap the border.

This will give us a white edge around the black edge around the burnt orange rectangle:

#privacy-policy-callout {
   color: #FFFFFF;
   background-color: #D67D07;
   border: 2px solid #000000;
   outline: 2px solid #FFFFFF;
}

No comments:

Post a Comment