This is Sasha and thanks for joining me here for another CSS training video, so that way you can learn more about how to edit manage your personal or business website when it comes to the online space.
In today’s training video, what I want to do is share with you the font-weight property. Let’s take a look on screen and let me share with you how to modify the font-weight property within your business page.
Bold, bolder, normal, lighter
Here what I’ve done is created a bunch of H2 tags and those are the ones that we’ll be playing with. What I’m going to do and one of the great things about Sublime Text is I’ll go ahead and type and add a class into this and the class that I’m going to do is, let’s just do, bold for now and when it comes to font weight, there’s a couple of different thicknesses that you can have.
One is bold, the other is normal, another one that you can have is bolder and then you also have lighter. Okay? If I went ahead and just type the bold right here and we did a class basically you type in font weight and then you type in bold. The next one we have is normal, I will go ahead and type in font weight, normal and I’ll close that out. We’ll do the same for right here for lighter.
That’s the other one, lighter and the final one is bolder, okay? There we go. Those are the four that we have, okay? Let get rid of these for now and now you can see what we have.
--------------------- HTML CODE --------------------------------------- CSS CODE ------------------ .bold {font-weight: bold;} .normal {font-weight: normal;} .lighter {font-weight: lighter;} .bolder {font-weight: bolder;}Backstageincome : Learn to grow a business and evolve your life! Welcome to My New Website
Welcome to My New Website
Welcome to My New Website
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

You can see that there are some changes happening between these right there. But in reality when you really look at them and this, of course, depends on the font type, right?
This kind of look very similar to this and these two look very similar to this that’s because there’s no really specific value like a font size, you know, 1, 2, 3, 4, 5 that’s attached to it. It’s just basically bold, bolder, lighter, normal.
In theory and we’ll take about this, the H2 tag is already bolded. When you normalize it which is our second version or variation right here, you can see that right there there’s our second version. That’s normal for the H2 tag because it’s not bold.
But if you completely get rid of that and don’t include any class, it’s naturally bold on its own. Let me get rid of this and just have the H2 tag on its own. We’ll hit save and you can see this most recent one right here, it’s actually bold on its own without any class. That’s things to keep in mind because certain things are already happening within the code and that’s just the way HTML is set up and the way your browser reads it.
--------------------- HTML CODE --------------------------------------- CSS CODE ------------------ .bold {font-weight: bold;} .normal {font-weight: normal;} .lighter {font-weight: lighter;} .bolder {font-weight: bolder;}Backstageincome : Learn to grow a business and evolve your life! Welcome to My New Website
Welcome to My New Website
Welcome to My New Website
Welcome to My New Website
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

The better alternative to this is rather than seeing it right here with bold, bolder, and sometimes you can’t see it because of the font because what happened is certain fonts, they don’t have different size value. What I’m going to do is just change the font family real quick to Gotham because I know that has a lot of different values.
What you’ll notice is right here look at this one how light that is, the lighter version, okay? Then look at how this one and this one you have that are extremely bold and I’ll just make these in red real quick. You can see that these two have a lot more boldness to them and then there’s a final one right here kind of in the middle. The normal one you can see is – well, it’s a normal width or really it looks a little more bold but that’s just because that’s the font that it is.
--------------------- HTML CODE --------------------------------------- CSS CODE ------------------ h2 {font-family: gotham;} .bold {font-weight: bold;} .normal {font-weight: normal;} .lighter {font-weight: lighter;} .bolder {font-weight: bolder;}Backstageincome : Learn to grow a business and evolve your life! Welcome to My New Website
Welcome to My New Website
Welcome to My New Website
Welcome to My New Website
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

Using numeral values
But you basically can see, we have a really light one, we have a very bold one or two really bold ones and a normal one and it’s a lot easier to see. But what if you want something in between there? Well, you can really use these classes or methods. What I need to do is and let me just get rid of these, you need to use numeral values.
The better approach, I’ll just quickly put these in here, let’s see with Sublime Text, if I go like this and I just type class and then the class that we’ll put in is, let’s just say, 100. We’ll actually go back and do w100 and we’ll do w200, w300, w400, and w500, w600, w700, w800, and w900 is the largest.
The way that normally you do this – and again I’ll do the same thing here on my CSS code so that way we can match things up, is you normally want to put in a numeral value. If go and do some fields and we’ll do a class of w100 so now what I’ll do is put in the brackets and then font weight and again we’ll do 100 and we’ll close that out.
--------------------- HTML CODE --------------------------------------- CSS CODE ------------------ h2 {font-family: gotham;} .w100 {font-weight: 100;} .w200 {font-weight: 200;} .w300 {font-weight: 300;} .w400 {font-weight: 400;} .w500 {font-weight: 500;} .w600 {font-weight: 600;} .w700 {font-weight: 700;} .w800 {font-weight: 800;} .w900 {font-weight: 900;}Backstageincome : Learn to grow a business and evolve your life! Welcome to My New Website
Welcome to My New Website
Welcome to My New Website
Welcome to My New Website
Welcome to My New Website
Welcome to My New Website
Welcome to My New Website
Welcome to My New Website
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

This one is 100, this one will change to 200, this one will change to 300, 400, 500, 600, 700, 800, 900 and we’ll do the same thing here. 900, 800, 700, 600, 500, 400, 300, okay, so this is typically the way that it works and if you refresh and look at it you can see that when I go from 100 at the very top then I have 200, 300, 400, 500, 600, 700 and typically they continue going down and getting bolder and bolder.
In certain instances depending on the font and how it registers it, they may have some of that are less bold than others. For example, like this one over here is a little bolder than the one right under it and that is just the way the font is defined on its own properties. But in theory in technically if this font was set up properly, the one at the very top would be the lightest thing.
You’ll get a little darker or thicker and you can see that really as you zoom into it. You can see very light, very thin and a little thicker, a little thicker, a little more thicker and they continue to get bigger and bigger and bolder.
The font-family matters when it comes to font weight
And that is simply because this font has a lot of values to it when it comes to the Gotham font. If I did something like Arial font, what you’ll see is it’s pretty much the same thickness between let’s say all of these right here are I believe the same thickness and then the ones right under you have the next level of thickness which are these two and then the third level of thickness is right here, these two but you’ll only have like three levels.
--------------------- HTML CODE --------------------------------------- CSS CODE ------------------ h2 {font-family: arial;} .w100 {font-weight: 100;} .w200 {font-weight: 200;} .w300 {font-weight: 300;} .w400 {font-weight: 400;} .w500 {font-weight: 500;} .w600 {font-weight: 600;} .w700 {font-weight: 700;} .w800 {font-weight: 800;} .w900 {font-weight: 900;}Backstageincome : Learn to grow a business and evolve your life! Welcome to My New Website
Welcome to My New Website
Welcome to My New Website
Welcome to My New Website
Welcome to My New Website
Welcome to My New Website
Welcome to My New Website
Welcome to My New Website
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

But when you do things that have a font that has multiple levels of thickness is the way you define it is through this number value.
In technicality, 400 is the normal, okay? That’s just basically the same as normal and 700 is the same as having something that is bold. If you go 900, you know, that’s thicker than bold or that’s beyond bolder. That’s usually the better approach to do it, not to mention it also compresses your CSS code because if you write out bold or bolder, it adds a few extra characters, right?
It makes loading time slower and so on and so forth. But that’s how you could really do it to get more in-depth into the specificity of getting bold through your CSS code.