CSS max width, max height, CSS responsive
The max-width property is used to set the maximum width of an item. Maximum width of element does not include css paddings, borders or margins. The max-height property allows you to specify the maximum content height of an element. This maximum height of element does not include css paddings, borders or margins.
CSS max-width Property
If the content box is larger than the css max width, it will automatically change the width of the box.
If the content is smaller than the css max width, the max-width css property has no effect.
Note: The value of the css max-width property overrides the width property.
Example 1:
div-box1
{
max-width: 450px;
height: 210px;
border: 1px solid #73AD21;
background-color: red;
}
{
max-width: 450px;
height: 210px;
border: 1px solid #73AD21;
background-color: red;
}
CSS max-width Property
This maximum height does not include CSS paddings, borders, or margins. The box that has CSS max-height applied will never be taller than the value specified, even if the height property is set to something larger. For example, if the css hight is set to 450px and the max-height CSS is set to 250px, the actual height of the element is 250px.
Example2:
div-box2
{
height: 450px;
max-height: 250px;
border: 1px solid #73AD21;
background-color: red;
}
height: 450px;
max-height: 250px;
border: 1px solid #73AD21;
background-color: red;
}
CSS max-height attribute is usually used in conjunction with CSS min-height attribute to produce a height range for the element specified.
CSS responsive
Example3:
div-box3
{
width: 100%;
height: auto;
}
{
width: 100%;
height: auto;
}
CSS max width, max height, CSS max width responsive
CSS max width - max height - CSS responsive - css tutorial
Online Editor
This tool makes it easy to create, adjust, and experiment with custom colors for the web.
HTML Templates

Magnews2 is a modern and creative free magazine and news website template that will help you kick off your online project in style.
CSS HTML Layout

Find here examples of creative and unique website layouts.
Free CSS HTML Menu

Find here examples of creative and unique website CSS HTML menu.