Media Queries Flashcards

1
Q

What are some common breakpoints?

A

0 px - 480 px = small phones

480 px - 768 px = portrait tablet

768 px - 1024 px = landscape tablet

1024px - 1200px = regular computer

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

What do you need to know about cross browser compatibility?

A

You need to use css browser prefixes.

CSS prefixes:

android: -webkit-
chrome: -webkit-
firefox: -moz-

internet explorer: -ms-

ios: -webkit-
opera: -o-
safari: -webkit-

Example for border-radius:

  • webkit-border-radius: 25px;
  • moz-border-radius: 25px;
  • o-border-radius: 25px;

border-radius: 25px;

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

What is the extension in brackets that can help us with browser prefixes?

A

Autoprefixer

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

What are the three js scripts we need for older browsers?

A

Go to jsdelivr.com

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