Jump to content

Getting All Selectors


Hemlock
 Share

Recommended Posts

You can use * to assign a blanket attribute to everything, or set it to the body which will cause certain properties to be inherited all the way down through the document.

Link to comment
Share on other sites

If you want to refer to all the tags of one kind, just write the tag name without any other symbols next to it, like this:

table { border: 5px solid black; }div { padding: 10px; }

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...