If so, where are they applied? I'm stumped. Please show code if you can. #css
Thank you!
Nan
fluid creates a text box that spans the full width of its container.
fluid-centered creates a text box that is centered horizontally within its container and takes up 80% of the container's width .
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
.fluid, .fluid-centered {
width: 100% !important;
max-width: 100% !important;
height: auto !important;
margin-left: auto !important;
margin-right: auto !important;
border: 1px solid #ccc;
padding: 10px;
box-sizing: border-box;
}
.fluid-centered {
width: 80% !important;
}
</style>
<title>Fluid and Fluid-Centered Example</title>
</head>
<body>
<div class="fluid">
<p>This is a fluid text box that takes up the full width of its container.</p>
</div>
<div class="fluid-centered">
<p>This is a centered fluid text box that takes up 80% of its container's width.</p>
</div>
</body>
</html>
Thanks.