<!DOCTYPE html>
<html>
<title>W3.CSS</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../lib/w3.css">
<body>
<div class="w3-container">
<h2>w3-btn-block</h2>
<p>A w3-btn-block button has a width of 100%, and spans the entire width of the parent element.</p>
<button class="w3-btn-block">Button</button>
<button class="w3-btn-block w3-teal">Button</button>
<button class="w3-btn-block w3-disabled" disabled>Disabled Button</button>
<p>Different width of parent elements:</p>
<div class="w3-section" style="width:30%">
<button class="w3-btn-block">Button</button>
</div>
<div class="w3-section" style="width:50%">
<button class="w3-btn-block w3-teal">Button</button>
</div>
<div class="w3-section" style="width:80%">
<button class="w3-btn-block w3-red">Button</button>
</div>
</div>
</body>
</html>