CSS interview Question/ Answers Set – 8

CSS interview Question/ Answers Set – 8

  • 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.
The overflow property specifies what should happen if content overflows an element’s box. This property specifies whether to clip content or to add scrollbars when an element’s content is too big to fit in a specified area. Below are the overflow options available in CSS –
  • overflow: auto;
  • overflow: none;
  • overflow: scroll;
  • overflow: visible;
Browser vendors sometimes add prefixes to experimental or nonstandard CSS properties and JavaScript APIs, so developers can experiment with new ideas while—in theory—preventing their experiments from being relied upon and then breaking web developers’ code during the standardization process. Developers should wait to include the unprefixed property until browser behaviour is standardized. The major browsers use the following prefixes:
  • -webkit- (Chrome, Safari, newer versions of Opera, almost all iOS browsers (including Firefox for iOS); basically, any WebKit based browser)
  • -moz- (Firefox)
  • -o- (Old, pre-WebKit, versions of Opera)
  • -ms- (Internet Explorer and Microsoft Edge
CSS specificity is a score or rank that decides which style declaration has to be used to an element. (*) this universal selector has low specificity while ID selectors have high specificity. There are four categories in CSS which authorize the specificity level of the selector.
  • Inline style
  • IDs
  • Classes, Attributes, and pseudo-classes.
  • Elements and pseudo-elements

Post Your Comments & Reviews

Your email address will not be published. Required fields are marked *

*

*