You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3534,7 +3534,7 @@ CSS Grid Layout provides a powerful way to create responsive grid-based layouts.
3534
3534
3535
3535
[^89]CodeSandbox: Key Concepts of CSS Grid.
3536
3536
3537
-
[^89]:[CodeSandbox: Key Concepts of CSS Grid](https://fnt88c.csb.app/), last access: September 4, 2024.
3537
+
[^89]:[CodeSandbox: Key Concepts of CSS Grid](https://fnt88c.csb.app/), last access: March 23, 2025.
3538
3538
3539
3539
- The `.container` class creates a grid container with `display: grid;`.
3540
3540
-`grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));` defines responsive grid columns with a minimum width of 200px and a maximum width of 1fr (fraction of available space).
@@ -3546,21 +3546,21 @@ Media queries are essential for creating responsive designs that adapt to differ
3546
3546
3547
3547
```css
3548
3548
@mediascreenand (max-width: 768px) {
3549
-
.container {
3550
-
flex-direction: column;
3551
-
}
3552
-
.item {
3553
-
background-color: #f1f1f1;
3554
-
width: 100%;
3555
-
}
3549
+
.container {
3550
+
flex-direction: column;
3551
+
}
3552
+
.item {
3553
+
background-color: #f1f1f1;
3554
+
width: 100%;
3555
+
}
3556
3556
}
3557
3557
```
3558
3558
3559
3559
[](https://codesandbox.io/p/sandbox/090-media-queries-for-responsive-design-5pr5ll)
3560
3560
3561
3561
[^90]CodeSandbox: Media Queries for Responsive Design.
3562
3562
3563
-
[^90]:[CodeSandbox: Media Queries for Responsive Design](https://5pr5ll.csb.app/), last access: September 4, 2024.
3563
+
[^90]:[CodeSandbox: Media Queries for Responsive Design](https://5pr5ll.csb.app/), last access: March 24, 2025.
3564
3564
3565
3565
- The media query targets screens with a maximum width of 768px.
3566
3566
- Within the media query, the layout changes to a single column with `flex-direction: column;`.
@@ -3597,7 +3597,7 @@ Web accessibility is crucial for ensuring that websites and web applications are
3597
3597
3598
3598
[^91]CodeSandbox: Importance and Principles of Web Accessibility.
3599
3599
3600
-
[^91]:[CodeSandbox: Importance and Principles of Web Accessibility](https://qtxl9q.csb.app/), last access: September 6, 2024.
3600
+
[^91]:[CodeSandbox: Importance and Principles of Web Accessibility](https://qtxl9q.csb.app/), last access: March 24, 2025.
3601
3601
3602
3602
- In this code snippet, semantic HTML elements like `<nav>`, `<ul>`, and `<li>` are used to create a navigational menu.
3603
3603
- By using semantic elements, screen readers can interpret the structure of the navigation and convey it to users with disabilities more effectively.
0 commit comments