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

Figure issue for Listing 12.7 #6

Open
404157386 opened this issue May 16, 2020 · 0 comments
Open

Figure issue for Listing 12.7 #6

404157386 opened this issue May 16, 2020 · 0 comments

Comments

@404157386
Copy link

Chapter 12
12.2.2 Adding new colors to a palette
Listing 12.7 Adding the red color to the palette

In the Elements pane, right-click the tag and select :active
(or active in Firefox) from the context menu (figure 12.12). This will force the
browser to display the element’s active styles.
With the element forced to an active state, you can see how the red color looks.

figure 12.12 html

<ul class="top-nav">
  <li>
    <a href="/pricing">Pricing</a>
  </li>
</ul>

doesn't match figure 12.11 "video calls" link

and doesn't show red color for selector priority

a:active {
  color: var(--red);
}

.top-nav a {
  color: var(--white);
}

figure 12.12 should show this part html

<a href="/features/video-calling">video calls</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant