Issue
On the homepage, egghead.computer, when the text for the curl install command is selected, it does not appear like you can select the text because the background color when selecting the text is the same as the <code> element.
Src: https://github.com/mwunsch/egghead/blob/main/site/layouts/index.html#L25
Suggested Fix
Change the appearance for the ::selection state, i.e.
code::selection {
background: #ffffff;
color: #000000;
}
or similar.
Suggested Enhancement
Add a "copy" icon which copies the install command to the clipboard.
Issue
On the homepage, egghead.computer, when the text for the curl install command is selected, it does not appear like you can select the text because the background color when selecting the text is the same as the
<code>element.Src: https://github.com/mwunsch/egghead/blob/main/site/layouts/index.html#L25
Suggested Fix
Change the appearance for the
::selectionstate, i.e.or similar.
Suggested Enhancement
Add a "copy" icon which copies the install command to the clipboard.