Responsive Web Design | CSS3
Web Designing | Basics
In the past 2 decades web designing was neither a milestone nor a major issue in designing or developing any website or web based applications but for the past 4-5 years, it has been converted into a major issue or requirement for any kind of designing or development work.
Web Designing | CSS
Many types of designs were not possible in the past through CSS, or we can say that it was not as easy as it seems to be. So CSS was unable to fulfill the desired needs of web-development.
This gives birth to the new methodology or new version of CSS that is generally known as CSS3 to be explained later in this article.
Problems | CSS
- It was based on a table architecture system
- Styling was not free of content
- Unstructured design work
- Less media applications
- No proper functionality for high graphic elements
- Less animations
- Less dynamic design (mainly static)
- Low presentation reflexes
Solving Problems | CSS3
The problems and issues of CSS provide a path for the development of a new and better design application language, CSS3. We encountered several problems and issues during design using CSS, but CSS3 frees us from that through its applications.
Example Comparison | CSS2.1 vs CSS3
Example | CSS2.1
For creating a rounded corner or any shape on any kind of screen element in any type of development work, either structured with table or free-hand designed structure, we do use a different technique in CSS2.1.
In the development procedure of CSS, the following stream of code is used that consists of a complete reference.
Code | HTML
<a href=”jaiswalabhishek.blogspot.in”><span> Submit </span></a>
<a href=”#”><span> Reset </span></a>
Code | CSS
a
{
display: dotted block;
height: 60px;
float: left;
font-size: 10em;
font-family: cambria;
padding-right: 1.0em;
padding-left: 1.0em;
background: url(abc.jpg);
scroll: top down;
}
a span
{
background: url(abc.jpg);
display: dotted block line-height: 1.0em;
}
Output | CSS
// button events
Example | CSS3
In CSS3 we code like this and get output in the same fashion as in CSS2.1.
Code | HTML
<a href=” jaiswalabhishek.blogspot.in”> Submit </a>
<a href=”#”>Reset <a>
Code | CSS3
a {
height: 60px;
float: left;
font-size: 10em;
line-height: 60px
padding-right: 1.0em;
padding-left: 1.0em;
background-image: url(abc.jpg);
background-repeat: repeat-x;
scroll: top down;
border declaration
border-top-right-radius: 12px;
border-top-left-radius12px;
}
Output | CSS3
(The output is the same as in the old version; the main difference is that we can measure is coding and designing method in CSS3.)