Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

CSS Colors from Mozilla

Public visualization

CSS Colors from Mozilla

0 stars0🌍 Public
DDavid Allyn
Last edited Nov 23, 2021
Created on Nov 23, 2021
Forked from Hello VizHub

This example shows a simple React app that renders two text elements: a large "Hello React!" message and a smaller "...with CSS" line in rebeccapurple, based on the CSS Colors from Mozilla documentation. The main component uses JSX within a `<g>` element, though the code does not employ SVG-specific behavior. Styling is handled entirely through an external stylesheet (`index.css`), which sets font sizes and text alignment, while the React DOM library mounts the component to the `#root` div. The page loads React and ReactDOM from a CDN, and the bundled script runs client-side.

AI-generated description

React Starter code.

Comments

Sign in to join the discussion.

MIT Licensed