-
What is the difference between CSS2 and CSS3?
The main difference between CSS2 and CSS3 is that CSS3 is divided into different sections which are also known as modules. Unlike CSS2, CSS3 modules are supported by many browsers. Apart from that, CSS3 contains new General Sibling Combinators which is responsible for matching the sibling elements with the given elements.
-
What is tweening?
It is the process of generating intermediate frames between two images. It gives the impression that the first image has smoothly evolved into the second one. It is an important method used in all types of animations. In CSS3, Transforms (matrix, translate, rotate, scale) module can be used to achieve tweening.
-
What do you understand by W3C?
W3C stands for World Wide Web Consortium. Its purpose is to deliver the information of the World Wide Web. It also develops rules and guidelines for the Web.
-
Explain the difference between visibility: hidden and display: none?
visibility: hidden hides the element, but it occupies space and affects the layout of the document. display: none also hides the element but not occupy space. It will not affect the layout of the document.
-
What is the purpose of the z-index and how is it used?
The z-index helps to specify the stack order of positioned elements that may overlap one another. The z-index default value is zero and can take on either a positive or negative number. An element with a higher z-index is always stacked above than a lower index. Z-Index can take the following values:
-
How to restore the default property value using CSS?
In short, there is no easy way to restore to default values to whatever a browser uses. The closest option is to use the ‘initial’ property value, which restores the default CSS values, rather than the browser’s default styles.
-
What is the float property of CSS?
The CSS float property is used to move the image to the right or left along with the texts to be wrapped around it. It doesn’t change the property of the elements used before it. To understand its purpose and origin, let’s take a look at its print display. In the print display, an image…
-
What is the CSS Box model and what are its elements?
The CSS box model is used to define the design and layout of elements of CSS. The elements are:
-
What is the difference between logical tags and physical tags?
-
What are the benefits of CSS sprites?
If a web page has a large number of images that take a longer time to load because each image separately sends out an HTTP request. The concept of CSS sprites is used to reduce the loading time for a web page because it combines the various small images into one image. It reduces the…