mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-07-01 21:01:20 +08:00
fix(curriculum): fix typo in CSS review (#64457)
Co-authored-by: Shraddha Arora <shraddhaarora@Shraddhas-MacBook-Air.local>
This commit is contained in:
parent
c8395eb1db
commit
b643a82623
@ -470,7 +470,7 @@ Using placeholder text is not great for accessibility. Too often, users confuse
|
||||
## Fixed and Sticky Positioning
|
||||
|
||||
- **Fixed Positioning**: When an element is positioned with `position: fixed`, it is removed from the normal document flow and placed relative to the viewport, meaning it stays in the same position even when the user scrolls. This is often used for elements like headers or navigation bars that need to remain visible at all times.
|
||||
- **Sticky Positioning**: This type of positioning will act as an relative positioned element as you scroll down the page. If you specify a `top`, `left`, `right` or `bottom` property, then the element will stop acting like a relatively positioned element and start behaving like a fixed position element.
|
||||
- **Sticky Positioning**: This type of positioning will act as a relative positioned element as you scroll down the page. If you specify a `top`, `left`, `right` or `bottom` property, then the element will stop acting like a relatively positioned element and start behaving like a fixed position element.
|
||||
|
||||
## Working With the `z-index` Property
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user