Grow your business, income, & life

20+ yrs of experience to offer you education and business services that launch and grow your business

CSS3 Tutorial for Beginners: 07 Writing Multiple Selectors & Rule For Multiple Elements

This is Sasha and welcome to another CSS training video. Today, I want to show with you how you can add multiple selectors for your business website or if you’re trying to edit your business presence online. Let’s take a look at this.

Let’s take a look at this website and see how we can use multiple selectors, okay, or multiple rules. Here I have the heading tag or the H2 tag right there and you can see that since you have the H2 targeted it’s going to change both H2 tags just like this one and also this one right here at the top.

--------------------- HTML CODE ------------------



		Backstageincome : Learn to grow a business and evolve your life!

		 	



	


Welcome to My New Website!!!!!

Business Launch Pad is focused on showing you the critical concepts on how to build a profitable business from scratch.

These are my books and products

Thank you for visiting

--------------------- CSS CODE ------------------ h2 { background-color: pink; font-size: 25px; }

Using multiple selectors

Let’s say you also wanted to change the background of the paragraph tag. Well, what you could do is instead of writing, you know, the paragraph tag and then background color and then also typing in pink right here and then going ahead and saving it, you can see that does work, okay, in our paragraph tag. It does work but ultimately you have redundant code. It’s making things a lot longer.

--------------------- HTML CODE ------------------



		Backstageincome : Learn to grow a business and evolve your life!

		 	



	


Welcome to My New Website!!!!!

Business Launch Pad is focused on showing you the critical concepts on how to build a profitable business from scratch.

These are my books and products

Thank you for visiting

--------------------- CSS CODE ------------------ h2 { background-color: pink; font-size: 25px; } p {background-color: pink;}

Instead what you’d want to do is just go ahead and type in the P tag right there. You just add a comma and you go ahead and add in your P tag and you can see it works right there.

Let’s say, you wanted to go ahead and change the font size though of the P tag because now what you can see the problem here, what’s happening, is it also applies this font size and I actually have two semicolons there.

--------------------- HTML CODE ------------------



		Backstageincome : Learn to grow a business and evolve your life!

		 	



	


Welcome to My New Website!!!!!

Business Launch Pad is focused on showing you the critical concepts on how to build a profitable business from scratch.

These are my books and products

Thank you for visiting

--------------------- CSS CODE ------------------ h2, p { background-color: pink; font-size: 25px; }

Redefining values

But let’s say you didn’t want this font size to be 25 on the paragraph tag, okay? What you could actually do is redefine the paragraph and go font size, let’s say, 12 pixels right there, save that and you can see.

There we go. We went ahead and did 12 pixels. If I want it little bigger, I could do 18 pixels. But you can see the heading tag or the H2 tag, if I change it to 45, you can see the heading tag has not change whereas with the paragraph tag here a little bit later, it has been changed. If I want to redefine it again, I could go ahead and here, we’ll redefine it. I’ll just do background color, okay, and let’s just say yellow, I’ll go ahead and do that and because it’s later in the code, it reads it and it says, “Okay. Well, we’ll make that yellow.

--------------------- HTML CODE ------------------



		Backstageincome : Learn to grow a business and evolve your life!

		 	



	


Welcome to My New Website!!!!!

Business Launch Pad is focused on showing you the critical concepts on how to build a profitable business from scratch.

These are my books and products

Thank you for visiting

--------------------- CSS CODE ------------------ h2, p { background-color: pink; font-size: 45px; } p { font-size: 15px; background-color: yellow; }

Ultimately you have to be careful with that when you’re doing this or playing with this that when you’re combining multiple selectors that you only want to do it for tag such as – that are very similar so the heading tag and the P tag right there, I want them to be the same so I’ll be okay with the background color.

All of a sudden once you get into the font size, you may want to go ahead and do font size, let’s say, this one could be 30 pixels and then the paragraph tag might be font size, let’s say, 21 pixels. That way when you write your code out, it’s much more clean and neat. That way you have it right there.

--------------------- HTML CODE ------------------



		Backstageincome : Learn to grow a business and evolve your life!

		 	



	


Welcome to My New Website!!!!!

Business Launch Pad is focused on showing you the critical concepts on how to build a profitable business from scratch.

These are my books and products

Thank you for visiting

--------------------- CSS CODE ------------------ h2, p { background-color: pink; } h2 {font-size:30px;} p {font-size: 17px;}

Background is the same on all of them but the font size is different and if you go ahead and just change the font size to 17, you can see there the paragraph tag changes to 17, but that’s how you do multiple selectors. If I wanted to go ahead and do the same thing, let’s say, to the font size and I want the H2 font size 30. I want the same thing for these bullets which you can see the bullets is the UL tag.

I could go ahead and do the same thing and just type in UL right here and you can see it made it the same font size right there.

I just add a comma typically the practice is to add an extra space. You don’t have to do that but it works along the same way so whether you add a space or whether you don’t add a space but there you go. I added a space right there in between and you can see the links right here are also the same size right here.

--------------------- HTML CODE ------------------



		Backstageincome : Learn to grow a business and evolve your life!

		 	



	


Welcome to My New Website!!!!!

Business Launch Pad is focused on showing you the critical concepts on how to build a profitable business from scratch.

These are my books and products

Thank you for visiting

--------------------- CSS CODE ------------------ h2, p { background-color: pink; } h2, ul {font-size:30px;} p {font-size: 17px;}

Now granted they have the HTML property for the emphasis or italic and that’s a whole different story. That’s in the HTML. But as far as stylesheets goes you can see how you can really do multiple selectors or multiple rules for multiple attributes and selectors right there.

Download our online toolbox for free! Simply click the get it now button below and see the must-have tools for online business owners!

Struggling to make your blog business profitable? Want to turn your hobby blog into an income-generating blog? Learn the right way to plan a highly successful and profitable blog business.

Learn how to create Pinterest Pins that are attractive, click-worthy, and make people want to click your Pins! Great skill to have to promote your content or make side-income designing Pinterest Pins for others.

Get Notified When This Freebie Comes Out! - It Shouldn't Be Long... 

Just enter your email address below and be first to get notified when we release this freebie!

AWESOME!

In order for you to get your goodies and freebies you have to confirm your email address.

 

To confirm your email address, just go to your email inbox (or check your spam) and click the link that's inside the email that states you want to receive messages from us.

 

That's its!

Just one more thing... 

Get MyOnline Business Toolbox
 

Had enough of the expensive and useless online business tools?

 

Stop wasting your money and time and get my list of awesome business tools.

 

Just enter your email address below so we know where to send it.

AWESOME!

In order for you to get your goodies and freebies you have to confirm your email address.

 

To confirm your email address, just go to your email inbox (or check your spam) and click the link that's inside the email that states you want to receive messages from us.

 

That's its!

Just one more thing... 

Get Notified When This Freebie Comes Out! - It Shouldn't Be Long... 

Just enter your email address below and be first to get notified when we release this freebie!

AWESOME!

In order for you to get your goodies and freebies you have to confirm your email address.

 

To confirm your email address, just go to your email inbox (or check your spam) and click the link that's inside the email that states you want to receive messages from us.

 

That's its!

Just one more thing... 

Video Gear Guide for YouTubers

Are you ready to improve your YouTube channel? If you want to see the best YouTube gear for YouTubers, then download my latest gear guide!

 

Enter your email below to get started...

FREE DOWNLOAD

AWESOME!

In order for you to get your goodies and freebies you have to confirm your email address.

 

To confirm your email address, just go to your email inbox (or check your spam) and click the link that's inside the email that states you want to receive messages from us.

 

That's its!

Just one more thing... 

Get Notified When This Freebie Comes Out! - It Shouldn't Be Long... 

Just enter your email address below and be first to get notified when we release this freebie!

AWESOME!

In order for you to get your goodies and freebies you have to confirm your email address.

 

To confirm your email address, just go to your email inbox (or check your spam) and click the link that's inside the email that states you want to receive messages from us.

 

That's its!

Just one more thing... 

Get Notified When This Freebie Comes Out! - It Shouldn't Be Long... 

Just enter your email address below and be first to get notified when we release this freebie!

AWESOME!

In order for you to get your goodies and freebies you have to confirm your email address.

 

To confirm your email address, just go to your email inbox (or check your spam) and click the link that's inside the email that states you want to receive messages from us.

 

That's its!

Just one more thing... 

Get Notified When This Freebie Comes Out! - It Shouldn't Be Long... 

Just enter your email address below and be first to get notified when we release this freebie!

AWESOME!

In order for you to get your goodies and freebies you have to confirm your email address.

 

To confirm your email address, just go to your email inbox (or check your spam) and click the link that's inside the email that states you want to receive messages from us.

 

That's its!

Just one more thing... 

Get Notified When This Freebie Comes Out! - It Shouldn't Be Long... 

Just enter your email address below and be first to get notified when we release this freebie!

AWESOME!

In order for you to get your goodies and freebies you have to confirm your email address.

 

To confirm your email address, just go to your email inbox (or check your spam) and click the link that's inside the email that states you want to receive messages from us.

 

That's its!

Just one more thing... 

Get Notified When This Freebie Comes Out! - It Shouldn't Be Long... 

Just enter your email address below and be first to get notified when we release this freebie!

AWESOME!

In order for you to get your goodies and freebies you have to confirm your email address.

 

To confirm your email address, just go to your email inbox (or check your spam) and click the link that's inside the email that states you want to receive messages from us.

 

That's its!

Just one more thing... 

Get Notified When This Freebie Comes Out! - It Shouldn't Be Long... 

Just enter your email address below and be first to get notified when we release this freebie!

AWESOME!

In order for you to get your goodies and freebies you have to confirm your email address.

 

To confirm your email address, just go to your email inbox (or check your spam) and click the link that's inside the email that states you want to receive messages from us.

 

That's its!

Just one more thing... 

Get Notified When This Freebie Comes Out! - It Shouldn't Be Long... 

Just enter your email address below and be first to get notified when we release this freebie!

AWESOME!

In order for you to get your goodies and freebies you have to confirm your email address.

 

To confirm your email address, just go to your email inbox (or check your spam) and click the link that's inside the email that states you want to receive messages from us.

 

That's its!

Just one more thing... 

Get Notified When This Freebie Comes Out! - It Shouldn't Be Long... 

Just enter your email address below and be first to get notified when we release this freebie!

AWESOME!

In order for you to get your goodies and freebies you have to confirm your email address.

 

To confirm your email address, just go to your email inbox (or check your spam) and click the link that's inside the email that states you want to receive messages from us.

 

That's its!

Just one more thing... 

Get Notified When This Freebie Comes Out! - It Shouldn't Be Long... 

Just enter your email address below and be first to get notified when we release this freebie!

AWESOME!

In order for you to get your goodies and freebies you have to confirm your email address.

 

To confirm your email address, just go to your email inbox (or check your spam) and click the link that's inside the email that states you want to receive messages from us.

 

That's its!

Just one more thing... 

Wow! Get Ready to Start your Online Business Journey!

Just enter your email address below and be one of the fast growing online businesses roght now!

AWESOME!

In order for you to get your goodies and freebies you have to confirm your email address.

 

To confirm your email address, just go to your email inbox (or check your spam) and click the link that's inside the email that states you want to receive messages from us.

 

That's its!

Just one more thing... 

Get Notified When This Freebie Comes Out! - It Shouldn't Be Long... 

Just enter your email address below and be first to get notified when we release this freebie!

AWESOME!

In order for you to get your goodies and freebies you have to confirm your email address.

 

To confirm your email address, just go to your email inbox (or check your spam) and click the link that's inside the email that states you want to receive messages from us.

 

That's its!

Just one more thing... 

Want to Create Videos that Convert Viewers into Buyers?

Are you tired of making videos that don't produce results?

 

Get my Video Formula cheat sheet and see how to create videos that get clicks and attracts buyers!

AWESOME!

In order for you to get your goodies and freebies you have to confirm your email address.

 

To confirm your email address, just go to your email inbox (or check your spam) and click the link that's inside the email that states you want to receive messages from us.

 

That's its!

Just one more thing... 

Download My Youtube Video Creation Checklist for FREE...
 

Overwhelmed by number of tasks that you need to do to make high-quality YouTube videos?

 

Then grab this YouTube Video Creation Checklist if a strategic procedure list for producing your YouTube videos.

AWESOME!

In order for you to get your goodies and freebies you have to confirm your email address.

 

To confirm your email address, just go to your email inbox (or check your spam) and click the link that's inside the email that states you want to receive messages from us.

 

That's its!

Just one more thing... 

Download My List of The 125 Most Profitable YouTube Niches

This is a List of the 125 Most Profitable YouTube Niches that might be a real eye-opener for you.


Sign up for FREE and gain some extraordinary ideas...

AWESOME!

In order for you to get your goodies and freebies you have to confirm your email address.

 

To confirm your email address, just go to your email inbox (or check your spam) and click the link that's inside the email that states you want to receive messages from us.

 

That's its!

Just one more thing... 

Profit from My 35 Local Strategies to Make Extra Money
 

Are you interested in making some money on the side? That don't need to be extra hard.

 

You can use My 35 Local Strategies to Make Extra Money and in seriously short time reap the benefits.

 

Grab this opportunity by entering your email below...

AWESOME!

In order for you to get your goodies and freebies you have to confirm your email address.

 

To confirm your email address, just go to your email inbox (or check your spam) and click the link that's inside the email that states you want to receive messages from us.

 

That's its!

Just one more thing... 

FREE Guide to the Best Cameras for a Youtuber

Eager to find out which cameras are the top choices to producing and recording videos?

 

Grab my FREE Guide below by entering your email address... 

AWESOME!

In order for you to get your goodies and freebies you have to confirm your email address.

 

To confirm your email address, just go to your email inbox (or check your spam) and click the link that's inside the email that states you want to receive messages from us.

 

That's its!

Just one more thing... 

225 Profitable Pinterest Niches

Are you interested in learning which Pinterest niches are profitable?

 

Grab our FREE Pinterest Niche Guide by entering your email below

AWESOME!

In order for you to get your goodies and freebies you have to confirm your email address.

 

To confirm your email address, just go to your email inbox (or check your spam) and click the link that's inside the email that states you want to receive messages from us.

 

That's its!

Just one more thing... 

How to Get Started Selling Your Own Digital Products

Get my free mini-series by entering your email address below

AWESOME!

In order for you to get your goodies and freebies you have to confirm your email address.

 

To confirm your email address, just go to your email inbox (or check your spam) and click the link that's inside the email that states you want to receive messages from us.

 

That's its!

Just one more thing... 

Want to Find a Profitable Niche?

If you are interested in starting an online business and want to find the perfect niche to start making tons of money.

 

Then grab our FREE email series on how to find a highly profitable niche!

AWESOME!

In order for you to get your goodies and freebies you have to confirm your email address.

 

To confirm your email address, just go to your email inbox (or check your spam) and click the link that's inside the email that states you want to receive messages from us.

 

That's its!

Just one more thing... 

Want to Get My Quick-Start Guide to Build Your Empire?

If you are interested in starting your own online business and making money online.

 

Then grab our quick email series on how to start a profitable business fast!

AWESOME!

In order for you to get your goodies and freebies you have to confirm your email address.

 

To confirm your email address, just go to your email inbox (or check your spam) and click the link that's inside the email that states you want to receive messages from us.

 

That's its!

Just one more thing... 

Learn How to Get Thousands of

Visitors to Your Website
 

This FREE email series will show you exactly how to get thousands of real visitors to your website even if you are an absolute beginner.

AWESOME!

In order for you to get your goodies and freebies you have to confirm your email address.

 

To confirm your email address, just go to your email inbox (or check your spam) and click the link that's inside the email that states you want to receive messages from us.

 

That's its!

Just one more thing... 

5,000 SUBSCRIBERS

Derek will teach you simple tactics to attract life-long customers through real-world examples.

FOR FREE?

Want to learn how to get

AWESOME!

In order for you to get your goodies and freebies you have to confirm your email address.

 

To confirm your email address, just go to your email inbox (or check your spam) and click the link that's inside the email that states you want to receive messages from us.

 

That's its!

Just one more thing... 

Download My List of The 125 Most Profitable YouTube Niches

Get my list of the 125 Most Profitable YouTube Niches. It will be an eye-opener for you!


Sign up for FREE and get extraordinary ideas...

AWESOME!

In order for you to get your goodies and freebies you have to confirm your email address.

 

To confirm your email address, just go to your email inbox (or check your spam) and click the link that's inside the email that states you want to receive messages from us.

 

That's its!

Just one more thing... 

Download My List of The 125 Most Profitable YouTube Niches

Get my list of the 125 Most Profitable YouTube Niches. It will be an eye-opener for you!


Sign up for FREE and get extraordinary ideas...

AWESOME!

In order for you to get your goodies and freebies you have to confirm your email address.

 

To confirm your email address, just go to your email inbox (or check your spam) and click the link that's inside the email that states you want to receive messages from us.

 

That's its!

Just one more thing... 

don't call us.
we will coconut
you

organic pop up market store is heading your way​