fix(curriculum): correct CSS specificity lesson example to use ID selector (#64493)

This commit is contained in:
Geetansh Goyal 2025-12-11 20:17:42 +05:30 committed by GitHub
parent 03dca0ace7
commit 5f0b35a60e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -192,13 +192,13 @@ The specificity value for internal styles is determined by the selectors used. F
```html
<head>
<style>
.text {
#text {
color: blue;
}
</style>
</head>
<body>
<div class="text">This text is blue.</div>
<div id="text">This text is blue.</div>
</body>
```