18. Class Attribute Strategies – Multiple Use

				
					
<p>This is a class paragraph </p>

				
			

Video Summary

In this lesson we’re gonna go over the class action described using this one is to use. So when you are using a class attribute, you can use it over and over again and be able to style certain elements in a specific way. And it helps when you are doing when you’re when you’re doing a lot of code and that way you don’t have to type in CSS for each individual element. Especially if they all have the same style as us. Let me let me kind of explain this a little bit further. So over here, I have three paragraphs and let’s say we are creating a blog article. And we want all the paragraphs in that blog article. To look the same. 

Use this knot on multiple different elements and really just save a lot of time. And what’s really important to understand this is that a lot of WordPress developers, as theme creators, use the same attributes to be able to style stuff. 

So knowing this and saying that you are trying to isolate a certain element that a developer or WordPress developer created for your website, and they’re using a glass and understanding that if you manipulate this class and they use it on the other elements of the site that you might be manipulating small deal, you might only want it so we’re gonna get into them when we get WordPress sites. But it’s good to start thinking about that stuff now and understanding how these developers use these classes to be able to so now in the next lesson, we’re gonna go over how we can use different classes.

PHP Code Snippets Powered By : XYZScripts.com