InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What is Mixin function in SASS? |
|
Answer» Mixin function helps in MAKING the group of the CSS DECLARATIONS that need to be used throughout the coding and as result the length of the CODE reduces. |
|
| 2. |
What is the use of @at-root directive in SASS? Explain |
|
Answer» The @at-root DIRECTIVE in SASS was introduced in the Ruby SASS 3.3 in order to emit a STYLE block at the root of the document, In spite of being nested BENEATH in its parent selectors. |
|
| 3. |
Explain @include directive? |
|
Answer» The @include DERIVATIVE is related to MIXINS that MEANS it includes @mixin code. It ALLOWS the coder to create reusable code. |
|
| 4. |
Explain @for directive? |
|
Answer» @for derivative is USED when the PARTICULAR group of the STATEMENT has to EXECUTE a specific number of TIMES and are its two variations. Example@for from through { |
|
| 5. |
Explain @else if directive? |
|
Answer» @ELSE if the DERIVATIVE is USED with the @if derivative when TWO CODES have to run like if the condition is true then do this and @else if-if the condition is false. Example// $test: 5; |
|
| 6. |
What is the difference between Sass comments regular CSS? |
|
Answer» 15. Explain @if DIRECTIVE? @if directive <and its other companions LIKE @else if, @else allows the code to run only if the conditions are met Example |
|
| 7. |
What is the use of @extend function in Sass? |
|
Answer» By USING @extend function same STYLE can be copied to the other CLASSES ALSO and there is no need to rewrite the code again. |
|
| 8. |
Explain the Data Types of Sass supports? |
|
Answer» SASS has the FOLLOWING DATA TYPES:-
|
|
| 9. |
What are the system requirements for SASS ? |
| Answer» | |
| 10. |
Which is better, Sass or Less? Explain |
Answer»
Above points clearly prove that the SASS is better CSS pre-processor than the LESS. |
|
| 11. |
What are the advantages of Sass? Explain |
Answer»
|
|
| 12. |
What is the use of Sass @import function? |
|
Answer» SASS @import DIRECTIVE is used to include one STYLESHEET inside another stylesheet and in other words, we can SAY that it imports the .SASS and .SCSS files.The location of the stylesheet can either be in the same server or it is written with the URL to the directory of another server. For Example:-
|
|
| 13. |
What is the difference between SCSS and Sass? |
||||||||||||||||||
Answer»
|
|||||||||||||||||||
| 14. |
Explain the features of SASS? |
|
Answer» Here are some of the feature of SASS:-
|
|
| 15. |
How many ways can we use SASS? Please explain |
|
Answer» SASS (Syntactically Awesome Style Sheets) can be used in the following THREE ways. |
|
| 16. |
What is the difference between Sass and CSS? Explain |
|||||||||||||||||||||||||||
Answer»
|
||||||||||||||||||||||||||||
| 17. |
Who introduced SASS? |
|
Answer» SASS (SYNTACTICALLY AWESOME Style Sheets) was DEVELOPED by NATALIE Weizenbaum and it was designed by Hampton Catlin. |
|
| 18. |
What is Sass? Explain |
|
Answer» SASS stands for Syntactically Awesome Style Sheets. SASS is the extension of the CSS which describes the DOCUMENT in a structured format. SASS provides more powerful syntax than CSS. 2. Is bootstrap LESS or SASS? ExplainSASS and LESS both are the preprocessor of CSS that enhance the development of CSS but SASS is powerful as compared to LESS. Bootstrap provides a WHOLE framework for creating the user interfaces that include the widgets, the grid layout system, the typographic styling, the Interactive Menu BARS and many more. Bootstrap have used many preprocessors in the past for the CSS source code but out of SASS and LESS, Bootstrap uses LESS pre-processor and it has also included various customisations by using the fewer variables and the fewer components.
But Recently BOOTSTRAP 3 has also given the SASS CODEBASE as an alternate option but BOOTSTRAP 4 is being built completely on SASS codebase and this is the first time Bootstrap has using SASS. |
|