CSS Frameworks & Preprocessors Flashcards

1
Q

Why use CSS Frameworks?

1) focus
2) cross-browser solutions
3) Write less, think more!
4) common knowledge base, standards and problem solving methodology
5) Best of breed solution.

A

1) allow you to focus on your specific problem and not re-create solutions for common problems that have already been solved.
2) come with Cross-browser solutions. However, browser support varies. Review the specific framework documentation for browser support.
3) Write less, think more! Think about solving issues unique to your own problem.
4) Allows team members to share a common knowledge base, standards and problem solving methodology
5) Best of breed solution.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Few major issues that CSS Frameworks should address:

A

1) Reset or normalize
2) Grid system
3) Base styling and typography
4) Icon sets and glyphicons
5) Responsive solutions
6) Widgets
7) Complexity
8) Customization, tools and documentation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

1) Reset or normalize

A

Frameworks make use of a this popular technique. At the time of this writing, most modern frameworks make use of normalize.css

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

2) Grid system

A

Grid systems are responsible for determining the widths of columns of content and how they behave when resized.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

3) Base styling and typography

A

Base styling refers to the default look and feel of the framework. While it’s convenient to have a pre-styled application, base styling is also responsible for the “cookie-cutter” look. It is the developer’s responsibility to properly customize/overwrite the framework’s default styles.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

4) Icon sets and glyphicons

A

Frameworks may come pre-packaged with a set of common image-based icons or font-based icons.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

5) Responsive solutions

A

Content may be moved around or hidden/shown. Many frameworks have responsive solutions built in. This means that things like media query breakpoints and ranges are also built in. They provide a solution to the problem. However it may not be the ideal solution for your project.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

6) Widgets

A

As front-end frameworks evolved, common UI elements that included JavaScript were included by framework authors and contributors. These “widgets” include:

  • navigational elements, such as dropdown menus and breadcrumbs,
  • callouts such as popups and tooltips
  • content presentation elements such as accordions and tabbed navigation

Knowledge of the framework’s JavaScript API would be necessary.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

7) Complexity

A

Some frameworks may make use of other technologies or libraries that you may not be familiar with and learning curves vary. For example, knowledge or SASS or LESS may be necessary.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

8) Customization, tools and documentation

A

Framework authors and contributors may provide customization tools (pick and pack options) or tools such as automation and skinning tools.

The quality of documentation and technical support vary. This is typically a reflection of the community culture, support and goals of the people behind the framework. Prebuilt templates and themes may be easily available.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

CSS Preprocessors takes a file that is written in non-standard CSS and compiles it into regular standard CSS that browsers can understand.

A

CSS Preprocessors takes a file that is written in non-standard CSS and compiles it into regular standard CSS that browsers can understand. The languages that these pre-processed files uses has many advantages.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

The languages that these pre-processed files uses has many advantages:

A
  • They extend the language of CSS to include variables, nesting, mixins, logic and functions in your CSS code
  • The aim to reduce repetition, improve organization and maintainability and save time.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Two popular preprocessors are _____ and _____.

A

Two popular preprocessors are SASS and LESS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Top CSS Methodologies:

A

OOCSS, BEM, SMACSS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly