margin-left
CSS margin-left Property
The CSS margin-left property is used to create marginal space on the left side of elements.
CSS CODE EXAMPLE
<style type="text/css">
.class1 {
margin-left: 20px;
}
.class2 {
margin-left: 20%;
}
</style>
<p>paragraph content ...</p>
<p class="class1">paragraph content ...</p>
<p class="class2">paragraph content ...</p>
.class1 {
margin-left: 20px;
}
.class2 {
margin-left: 20%;
}
</style>
<p>paragraph content ...</p>
<p class="class1">paragraph content ...</p>
<p class="class2">paragraph content ...</p>
paragraph content ...
paragraph content ...
paragraph content ...
0 Response to "margin-left"
Post a Comment