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: 11 Applying Font Size To a Body Element

This is Sasha and I’d like to share with you another CSS training video so that way you can edit or modify your business website. In this video, what we’ll do is take a look at the font size tag or element so that way you can see how we can work with even inheritance as we go into coding. Let’s take a quick look.

Using percentages to modify the font size

In order to illustrate this example, what I’ve done is I’ve created a body element where the font size is 16, that means everything has a font size of 16 that basically has 16 pixels. There are a few ways to apply a font size or a font size to a certain area. What you could do is pixels which is what I’ve done here.

What I’m going to do is show with you exactly a nice way to go ahead and incorporate this through inheritance properties and normally what you do is define in the body what font size you want to use and in this case we use pixels. You could even use points which is another way to do it which is good for printing. Pixel is the typical standard that people use when it comes to websites.

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



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

		 	 	



	



Backstageincome.com

Business Launch Pad is focused on showing you the critical concepts on how to build a profitable business from scratch. Business Launch Pad is focused on showing you the critical concepts on how to build a profitable business from scratch. 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 ------------------ body { font-family: arial; font-size: 16px; } p {font-size:120%;}

When it comes to websites, one of the ways that you can do is font size and if you want it to be, let’s say, 120% or 125% larger, let’s just do 120%, I could just do 120% right there even though the body is 16 pixels. What you can see is right there, it made it larger. Typically you may not want to do that for the paragraph tags. You may want to do the h2 tags, the heading tags, and you might say, “Okay.

Well, with the font size right there, I might want to do that with 170% right there, okay?” I’ll go ahead and do that and you can see it bump that 170% because what it’s doing here is it’s taking the value from the 16 pixels and it’s getting a 100% of that to get that final value.

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



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

		 	 	



	



Backstageincome.com

Business Launch Pad is focused on showing you the critical concepts on how to build a profitable business from scratch. Business Launch Pad is focused on showing you the critical concepts on how to build a profitable business from scratch. 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 ------------------ body { font-family: arial; font-size: 16px; } h2{font-size:170%;} p {font-size:120%;}

If we did some calculations and we took, let’s say, 16 pixels and we multiply that times 1.7 because that’s 170% and what we get is 27.2 which is what that font size would be, okay? That’s how you calculate that.

Using EMs

The other approach to doing this and let’s just say I had a let’s go with the heading 3 tag, okay, which might be a smaller tag, right, because you have heading 2 then you have heading 3. With the heading 3 tag, the other way that you could do it is you could use EMs which is very similar to percentages.

I might say, “Okay, this one is 1.5 ems.” I’ll go ahead and save that and the way that these work is the same way. It’s basically 150%. It’s the same calculation we did. It’s 16 times 1.5 equals and in this case you get 24. If I wanted it to be exactly 170, I can go ahead and multiply it times 1.7 and you’ll see that these two right here are exactly the same size.

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



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

		 	 	



	



Backstageincome.com

Backstageincome.com

Business Launch Pad is focused on showing you the critical concepts on how to build a profitable business from scratch. Business Launch Pad is focused on showing you the critical concepts on how to build a profitable business from scratch. 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 ------------------ body { font-family: arial; font-size: 16px; } h2{font-size:170%;} h3 {font-size:1.7em;}

Inheritnce and font size

That’s how that really works when it comes to the font size. The great thing about this or the power behind this is you can see that since we’re taking this inheritance property from the body tag.

We’ve written out our custom body area and instead of – let’s just say we want to bump it one or tiny notch on the font size, I could just go ahead and type this into 18 and everywhere else it’s going to bump it up a little bit and the H2 and H3 will bump up just as smidge as well because it’s, you know, 170% of that original font size or the property that it’s taking the inheritance from. That’s an important point to remember.

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



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

		 	 	



	



Backstageincome.com

Backstageincome.com

Business Launch Pad is focused on showing you the critical concepts on how to build a profitable business from scratch. Business Launch Pad is focused on showing you the critical concepts on how to build a profitable business from scratch. 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 ------------------ body { font-family: arial; font-size: 18px; } h2 {font-size:170%;} h3 {font-size:1.4em;}

Using actual values to define font size

The other thing that you can do when it comes to font size is use actual value. I could say font size and, let’s just say, over here, you could see they have large, larger, there’s even extra-large, extra-small, extra-extra-large and extra-extra-small.

Let’s do extra-extra-small just to give you an idea of what that looks like and you can see right there it’s very tiny, you might not be able to see it but it’s right there when you do things that are smaller like that, you could also define things based on these values so just like you could with bold which we’ll get into shortly.

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



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

		 	 	



	



Backstageincome.com

Backstageincome.com

Business Launch Pad is focused on showing you the critical concepts on how to build a profitable business from scratch. Business Launch Pad is focused on showing you the critical concepts on how to build a profitable business from scratch. 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 ------------------ body { font-family: arial; font-size: 18px; } h2 {font-size:xx-small;} h3 {font-size:1.4em;}

Normally this is not the best approach because the way that you define things is normally pixels. It’s numeral value and you can shift it in certain increments whereas, you know, when you go extra-small, you know, when you go extra-small or you go just small and you can see it bumps it up a little bit but it’s not exactly as precise.

There is other ways to do it of course like this but it’s not necessarily recommended. The better approach is to use values like the pixels or the percentage or the EM and the EM is the same as the percentage really is just taking, you know, you can have a 140% or 1.4 em. If I did 4.4 em that would be 440% and you could see how much bigger that is. That’s ultimately how the font size element works.

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​