mirror of
https://github.com/microsoft/frontend-bootcamp.git
synced 2026-01-26 14:56:42 +08:00
Fix typos
This commit is contained in:
@@ -18,7 +18,7 @@ In this exercise we will scaffold out some HTML for out Todo app, and add some b
|
||||
|
||||
1. The DOCTYPE tells the browser that this file is written in modern HTML.
|
||||
2. The HTML tag wraps the entire page, and is the page root. Nothing is placed outside of those tags. Attributes can be set on HTML
|
||||
3. Head will contain all of the page's meta data, in this case a link to our css file
|
||||
3. Head will contain all of the page's meta data, in this case a link to our CSS file
|
||||
4. Body is where all of the visible content should be placed.
|
||||
|
||||
### Content Sectioning
|
||||
@@ -73,7 +73,7 @@ Now that we've got the top of our application scaffolded, we can add some our st
|
||||
|
||||
It looks like the selected button isn't getting any special styles. Let's dig in and see why that is.
|
||||
|
||||
Open up the browser inspector and target our 'all' button. You'll notice that the blue style is present on the list, but it is being overriden by the `border: none` above it. This is a situation where specificity is winning out over the cascade.
|
||||
Open up the browser inspector and target our 'all' button. You'll notice that the blue style is present on the list, but it is being overridden by the `border: none` above it. This is a situation where specificity is winning out over the cascade.
|
||||
|
||||
> **Cascade** states that if two selectors are equal, the lowest one on the page wins
|
||||
|
||||
|
||||
Reference in New Issue
Block a user