About the CSS FAQ category
|
|
0
|
471
|
January 7, 2018
|
Should we use flex-grow and flex-shrink instead of media queries?
|
|
0
|
4354
|
October 18, 2018
|
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`?
|
|
45
|
28630
|
January 3, 2021
|
Setting a border for one or two sides of the element
|
|
3
|
11610
|
July 10, 2020
|
Are padding and margin interchangeable?
|
|
14
|
11973
|
September 29, 2020
|
Oval as a result of border-radius: 100%
|
|
11
|
12278
|
January 28, 2021
|
0 auto value in Margin
|
|
15
|
10518
|
October 7, 2020
|
This exercise uses selectors that target elements which are direct children of parent elements. Can we similarly target more deeply nested elements?
|
|
38
|
20814
|
January 16, 2021
|
Overflow in learn the box model lesson
|
|
10
|
20523
|
November 16, 2020
|
Margin property with three values
|
|
7
|
11604
|
October 6, 2020
|
Is it possible for two selectors targeting the same element to have the same specificity? If so, which styles “win” out?
|
|
27
|
24050
|
January 16, 2021
|
Are margin and padding values the only ones that need reset?
|
|
12
|
16729
|
November 9, 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
|
36382
|
January 4, 2021
|
How do we decide when to use flexbox?
|
|
10
|
4190
|
November 18, 2020
|
Single declaration
|
|
1
|
7568
|
December 26, 2020
|
Is flex-basis the same as setting width?
|
|
17
|
7101
|
December 14, 2020
|
How do we know which background and foreground colors work well together?
|
|
11
|
14863
|
October 6, 2020
|
This exercise illustrates how we can use multiple selectors to create more concise code. Are there additional tactics for creating less repetitive stylesheets?
|
|
28
|
15058
|
January 16, 2021
|
Collapsing margins
|
|
22
|
21613
|
January 18, 2021
|
When is it better to use visibility: hidden?
|
|
21
|
14854
|
September 2, 2020
|
What are the notable default styles that get applied when we set an element to display: flex;?
|
|
0
|
2991
|
October 18, 2018
|
Why would we use flex-direction: row-reverse/column-reverse;?
|
|
3
|
4302
|
October 4, 2020
|
Why some elements don't have height and width?
|
|
5
|
13856
|
May 5, 2020
|
What is a pixel and is this the only measure of font size?
|
|
13
|
19112
|
August 3, 2020
|
When should I nest flexboxes?
|
|
0
|
4259
|
October 18, 2018
|
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
|
20050
|
December 19, 2020
|
In CSS, can we select any HTML element by using its tag name as demonstrated in this exercise?
|
|
16
|
21467
|
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
|
18294
|
July 30, 2020
|
What is linear-gradient and why do we need three different background declarations?
|
|
5
|
13651
|
October 9, 2020
|
Can we use flex-flow with a single value?
|
|
4
|
2987
|
November 13, 2020
|