mdn / interactive-examples

Home of the MDN live code editor interactive examples
Creative Commons Zero v1.0 Universal
726 stars 506 forks source link

style example - add second css selector, bolden keyword in example #2794

Closed wesinator closed 1 month ago

wesinator commented 2 months ago

Description

This PR adds a second CSS selector to the style example, which boldens the style keyword in the example HTML styling.

Motivation

This serves two purposes: on the HTML code side of the example/demo, it gives an example of using multiple CSS selectors for different elements in a style element. On the output side, it adds a little touch to bolden the keyword style in the description text (which is already expressed as a code element). image

github-actions[bot] commented 2 months ago

It looks like this is your first pull request. 🎉 Thank you for your contribution! One of the project maintainers will triage and assign the pull request for review. We appreciate your patience. To safeguard the health of the project, please take a moment to read our code of conduct.

github-actions[bot] commented 1 month ago

Congratulations on your first merged pull request. 🎉 Thank you for your contribution! Did you know we have a project board with high-impact contribution opportunities? We look forward to your next contribution.