Skip to content

Instantly share code, notes, and snippets.

@JonAbrams
Last active January 12, 2019 19:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JonAbrams/ee68c4cdf76e51bec724046750427f09 to your computer and use it in GitHub Desktop.
Save JonAbrams/ee68c4cdf76e51bec724046750427f09 to your computer and use it in GitHub Desktop.
/*
Applies to any element that has
mydiv as a class OR myotherdiv as an id
*/
.mydiv, #myotherdiv {
background-color: red;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment