πŸ“Š CSS
Q. What should be the set value of background-size property such that image will stretch to cover entire content area?
  • (A) 100%
  • (B) contain
  • (C) cover
  • (D) 100%100%
πŸ’¬ Discuss
βœ… Correct Answer: (D) 100%100%

Explanation: If background-size property is set to “100%100% “ the background image will stretch to cover the entire content area. E.g. div { width: 100%; height: 300px; background-image: url(‘img_khj.jpg’); }

πŸ“Š CSS
Q. What should be the set value of background-size property such that image will cover the entire content area?
  • (A) contain
  • (B) cover
  • (C) 100%100%
  • (D) 100%
πŸ’¬ Discuss
βœ… Correct Answer: (B) cover

Explanation: If background-size property is set to “cover”, background image will scale to cover entire content area. “cover” value keeps the aspect ratio and some part of background image may be clipped. E.g. div {width: 100%; height: 390px; background-image: url(‘img_tyu.jpg’); background-size: cover;}

πŸ“Š CSS
Q. Which property specifies the output path in compiled CSS?
  • (A) relative_assets
  • (B) line_comments
  • (C) output_style
  • (D) sass_dir
πŸ’¬ Discuss
βœ… Correct Answer: (A) relative_assets
πŸ“Š CSS
Q. Which of the following specifies compiles CSS output?
  • (A) sass_dir
  • (B) line_comments
  • (C) relative_assets
  • (D) output_style
πŸ’¬ Discuss
βœ… Correct Answer: (D) output_style

Explanation: he output_style property specifies compiled CSS output. The accepted values for this property are :nested, :expanded, :compressed or :compact.

πŸ“Š CSS
Q. Which property specifies the folder name where CSS style sheets should be saved?
  • (A) sass_dir
  • (B) javascript_dir
  • (C) relative_assets
  • (D) css_dir
πŸ’¬ Discuss
βœ… Correct Answer: (D) css_dir
πŸ“Š CSS
Q. Which property specifies the path to the project when running in web server?
  • (A) css_dir
  • (B) sass_dir
  • (C) http_path
  • (D) images_dir
πŸ’¬ Discuss
βœ… Correct Answer: (C) http_path
πŸ“Š CSS
Q. Which is not a color function?
  • (A) opaque()
  • (B) darken()
  • (C) fade()
  • (D) lighten()
πŸ’¬ Discuss
βœ… Correct Answer: (A) opaque()
πŸ“Š CSS
Q. Whose value targets CSS property?
  • (A) property
  • (B) timing-function
  • (C) delay
  • (D) transition-duration
πŸ’¬ Discuss
βœ… Correct Answer: (A) property
πŸ“Š CSS
Q. Which value specifies transition acceleration?
  • (A) delay
  • (B) transition-duration
  • (C) timing-function
  • (D) property
πŸ’¬ Discuss
βœ… Correct Answer: (C) timing-function
πŸ“Š CSS
Q. Which value specifies a length of the transition effect?
  • (A) timing-function
  • (B) delay
  • (C) property
  • (D) transition-duration
πŸ’¬ Discuss
βœ… Correct Answer: (D) transition-duration