margin-left (proprietà CSS) imposta la larghezza del margine sinistro dell’elemento HTML.
Sintassi
[selettore] {
margin-left: [valore];
}
| valore | descrizione |
|---|---|
| XXX | XXX |
Esempi
<style>
.margin_left {
margin-left:100px;
border: 3px solid yellow;
}
</style>
<p class="margin_left">Test</p>
Test
Contenuti correlati
- CSS
- HTML
- JavaScript
- jQuery
- PHP
- SQL
- WORDPRESS
0 Comment