Skip to content

Instantly share code, notes, and snippets.

@skittishtrigger
Created February 7, 2017 03:02
Show Gist options
  • Save skittishtrigger/13a1f4d52095b5c96d1dca0bf6559c1b to your computer and use it in GitHub Desktop.
Save skittishtrigger/13a1f4d52095b5c96d1dca0bf6559c1b to your computer and use it in GitHub Desktop.
border widths
/* In style.css, use one declaration to set the top and bottom borders of the
.hotel class selector to a width of 4 pixels.
Set the left and right borders to a width of 2 pixels. */
.hotel {
margin: 60px auto;
padding: 10px 0px 0px 0px;
/* width: 90%; *//*old width commented out for testing*/
border-style: solid;
border-width: 4px, 2px, 4px, 2px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment