About the CSS FAQ category
|
|
0
|
485
|
January 7, 2018
|
Should we use flex-grow and flex-shrink instead of media queries?
|
|
1
|
4680
|
February 5, 2021
|
Oes a “chained” selector have a higher specificity than a class or id selector? For example, which selector would “win”: `.special` or `h1.special` or `#special`?
|
|
46
|
29254
|
February 2, 2021
|
Setting a border for one or two sides of the element
|
|
3
|
12339
|
July 10, 2020
|
Oval as a result of border-radius: 100%
|
|
11
|
12678
|
January 28, 2021
|
0 auto value in Margin
|
|
15
|
10922
|
October 7, 2020
|
Are padding and margin interchangeable?
|
|
14
|
12403
|
September 29, 2020
|
Overflow in learn the box model lesson
|
|
10
|
21123
|
November 16, 2020
|
This exercise uses selectors that target elements which are direct children of parent elements. Can we similarly target more deeply nested elements?
|
|
38
|
21329
|
January 16, 2021
|
How do we decide when to use flexbox?
|
|
11
|
4569
|
February 23, 2021
|
Is it possible for two selectors targeting the same element to have the same specificity? If so, which styles “win” out?
|
|
27
|
24638
|
January 16, 2021
|
Margin property with three values
|
|
7
|
11978
|
October 6, 2020
|
What happens if we try to apply the same id to multiple elements? Will our styles not get applied to the targeted, ided elements?
|
|
11
|
37556
|
January 4, 2021
|
Are margin and padding values the only ones that need reset?
|
|
13
|
17392
|
February 6, 2021
|
How do we know which background and foreground colors work well together?
|
|
11
|
15163
|
October 6, 2020
|
Is flex-basis the same as setting width?
|
|
17
|
7635
|
December 14, 2020
|
Collapsing margins
|
|
22
|
22460
|
January 18, 2021
|
Single declaration
|
|
1
|
7832
|
December 26, 2020
|
When should I nest flexboxes?
|
|
0
|
4593
|
October 18, 2018
|
This exercise illustrates how we can use multiple selectors to create more concise code. Are there additional tactics for creating less repetitive stylesheets?
|
|
28
|
15408
|
January 16, 2021
|
What are the notable default styles that get applied when we set an element to display: flex;?
|
|
0
|
3230
|
October 18, 2018
|
When is it better to use visibility: hidden?
|
|
21
|
15462
|
September 2, 2020
|
What is a pixel and is this the only measure of font size?
|
|
13
|
19490
|
August 3, 2020
|
According to this exercise, `.main p` is more specific than the `p` selector. Is `.main p` also more specific than the `p.main` or `#main` selectors?
|
|
22
|
20452
|
December 19, 2020
|
In CSS, can we select any HTML element by using its tag name as demonstrated in this exercise?
|
|
16
|
21852
|
June 27, 2020
|
With the advent of web fonts, can’t a user see a site’s font even if those fonts aren’t installed on her computer?
|
|
11
|
18689
|
July 30, 2020
|
What is linear-gradient and why do we need three different background declarations?
|
|
6
|
13983
|
January 30, 2021
|
Why some elements don't have height and width?
|
|
5
|
14323
|
May 5, 2020
|
What does the “cascading” in CSS mean?
|
|
23
|
66547
|
November 15, 2020
|
Why would we use flex-direction: row-reverse/column-reverse;?
|
|
3
|
4643
|
October 4, 2020
|