'layout-grid-type' Example : layout grid type « CSS « HTML / CSS






'layout-grid-type' Example

    
<html>
<body>
<div style="layout-grid-type:strict">
This is only a sample text.
</div>
<br>

<span id="myP">This is only a sample text.</span>

<button onclick="myP.style.layoutGridType='fixed'">
Set layoutGridType to fixed
</button>

</body>
</html>

    
      
      








Related examples in the same category