CSS Interview Questions
CSS is important for design any web page, here we discuss about some important CSS Interview Questions.What is class in CSS and why we use?
Class is basically used for grouping the attributes for applying same css. To apply the same type of styles on multiple tags, we add the class on the tags. then we add the styles on same class in css file.
What is grouping?
Grouping is gathering into a comma separated list two or more selectors that share the same style or (2) into a semicolon separated list two or more declarations that are attached to the same selector.
Is CSS case sensitive?
Cascading Style Sheets (CSS) is not case sensitive.
What is CLASS selector?
Class selector is a "stand alone" class to which a specific style is declared. Using the CLASS attribute the declared style can then be associated with any HTML element.
What is cascade?
Cascade is a method of defining the weight (importance) of individual styling rules thus allowing conflicting rules to be sorted out should such rules apply to the same selector.
What is CSS selector?
A CSS selector is the part of a CSS rule set that actually selects the content you want to style. Let's look at all the different kinds of selectors available.
What is Tweening?
Tweening is used in animations, 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.
Explain RWD?
RWD is the abbreviation for Responsive web design. In this technique, the designed page is perfectly displayed on every screen size and device, be it desktop, mobile, laptop or any other device. You don’t need to create a different page for each device
What is the use of CSS sprites ?
A web page with large number of images takes a longer time to load in the website, because image separately sends out a http request.
What is Contextual Selector?
It is a string of individual selectors separated by white space, where only last element in the pattern is addressed.
No comments :
Post a Comment