Hello everybody, welcome to our website where you will find
everything for free.
This is
twenty-eighth tutorial of CSS in which you will get to know about Content page
and CSS classes.
In this
tutorial, you will get to know about how to use class for giving CSS effects.
For example,
<div
class="form">
<input
type="text" placeholder="name" /><br/>
<input
type="submit" />
</div>
<br/>
<br/>
<div
class="form">
<input
type="text" placeholder="Address" /><br/>
<input
type="submit" value="submit"/>
</div>
Here in the
above example, we have made two sections i.e. both are having one class Form.
Now if we
want to give same CSS effects to both the elements we can do it by using class
attribute.
For better
understanding, just see the video.