Code: Select all
div.fixed {
position: fixed;
bottom: 150px;
right: 150px;
width: 300px;
border: 3px solid #73AD21;
}
Code: Select all
<div class="fixed"></div>
Code: Select all
div.fixed {
position: fixed;
bottom: 150px;
right: 150px;
width: 300px;
border: 3px solid #73AD21;
}
Code: Select all
<div class="fixed"></div>
max-width
in your own class to better mesh with classes from W3. By the way, for such a specific sized and positioned div, "fixed" as the class name is a bit too general to my taste.Code: Select all
div.fixed {
position: fixed;
bottom: 150px;
right: 150px;
width: 300px;
border: 3px solid #73AD21;
}