Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New question "What is the specificity of '.classA.classB #idA > ul ~ ul.classC' ?" (#153) #160

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/data/file.js
Original file line number Diff line number Diff line change
Expand Up @@ -953,10 +953,14 @@ export function deckData() {
a:
"It alters the default CSS box model used to calculate width and height of the elements to include any border and padding in the value you specify for width and height."
},
{
q: "What is the specificity of '.classA.classB #idA > ul ~ ul.classC' ?",
a:
"0(inline style) 1(ID selectors) 3(class selectors) 2(element selectors)"
},
{
q: 'What is the default display value of a div element?',
a: "display: block;"

}
]
},
Expand Down