Responsive website design is about a great deal more than simply shrinking your site down so that it fits on smaller screens. Responsive Website Design makes your web page display well on all devices (desktops, phones, and tablets). The practice consists of a mixed of flexible grids and web layouts, images and an intelligent use of CSS media queries.
Flexible Grids
Flexible grids have been around since the starting point of the web, and were very popular at the starting. Only when people wanted to start have better control over the design and look of the web did table and fixed width layouts become popular. Here is using CSS for positioning and for layout margins, spacing and padding, and for implementing various Website layout types in a different way. Web Layouts and text sizes are typically expressed in pixels.
Here are five points that make up a flexible grid and how to use each one.
a) Flexible Type: The most common way of flexible type is to use pixels for giving width/height/margin/padding etc.
b) Flexible Containers: But most of us learn these formula is that not only will it work on type, but this works great for our DIVs that make up the layout of the website.
c) Flexible Margins: When setting flexible margin on an element, your context is the width of the element itself. The margin is based on the width of the element's containing element.
.widget-area ul {
There are three key technical features are the heart of responsive website design:
a) Media queries and media query listeners.
b) A flexible grid-based web layout that uses relative sizing.
c) Flexible images and media, through dynamic resize or CSS.
a) Media queries and media query listeners.
b) A flexible grid-based web layout that uses relative sizing.
c) Flexible images and media, through dynamic resize or CSS.
Media Queries
Now-a-days of CSS 2.1, our style sheets have enjoyed some measure of device awareness through CSS media types for both screen and print. If you have ever hear about a print style sheet, you are already familiar with the concept:
<link rel="stylesheet" type="text/css" href="style.css" media="screen" />
<link rel="stylesheet" type="text/css" href="printfriendly.css" media="print" />
Now, you can use CSS media queries to determine styles to specific ability, applying different styles based on the ability that match your requirement.
Now-a-days of CSS 2.1, our style sheets have enjoyed some measure of device awareness through CSS media types for both screen and print. If you have ever hear about a print style sheet, you are already familiar with the concept:
<link rel="stylesheet" type="text/css" href="style.css" media="screen" />
<link rel="stylesheet" type="text/css" href="printfriendly.css" media="print" />
Now, you can use CSS media queries to determine styles to specific ability, applying different styles based on the ability that match your requirement.
Flexible Grids
Flexible grids have been around since the starting point of the web, and were very popular at the starting. Only when people wanted to start have better control over the design and look of the web did table and fixed width layouts become popular. Here is using CSS for positioning and for layout margins, spacing and padding, and for implementing various Website layout types in a different way. Web Layouts and text sizes are typically expressed in pixels.
Here are five points that make up a flexible grid and how to use each one.
a) Flexible Type: The most common way of flexible type is to use pixels for giving width/height/margin/padding etc.
b) Flexible Containers: But most of us learn these formula is that not only will it work on type, but this works great for our DIVs that make up the layout of the website.
c) Flexible Margins: When setting flexible margin on an element, your context is the width of the element itself. The margin is based on the width of the element's containing element.
.widget-area ul {
margin: 10px 0 0 25px;
}
d) Flexible Padding: When setting flexible padding on an element, your context is the width of the element itself. The padding is based on the width of the element's containing element.
.enews p {
padding: 5px 10px 0;
}
e) Flexible Images: In this concept, text will reflow smoothly within our flexible containers. One can fulfil this by scaling down oversized images down to match the container width using the following CSS code:
e) Flexible Images: In this concept, text will reflow smoothly within our flexible containers. One can fulfil this by scaling down oversized images down to match the container width using the following CSS code:
img {
max-width: 100%;
}
Author Bio: Sandeep Verma, Web Developer at Onkar Infotech Pvt Ltd in Gurgaon. He has experience in SEO, PPC, SMO, and Web Designing etc. Now He launched his own firm Creative Desk is a professional and established website designing company in delhi that uses effective tools and techniques to increase your brand image, organic & high quality web traffic. You can follow him on Google+.
max-width: 100%;
}
Author Bio: Sandeep Verma, Web Developer at Onkar Infotech Pvt Ltd in Gurgaon. He has experience in SEO, PPC, SMO, and Web Designing etc. Now He launched his own firm Creative Desk is a professional and established website designing company in delhi that uses effective tools and techniques to increase your brand image, organic & high quality web traffic. You can follow him on Google+.