UNPKG

cct-css

Version:

Custom CSS file with extended HTML5 tags support

78 lines (73 loc) 2.04 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>cct.css – Custom Color Tags Preview</title> <link rel="stylesheet" href="cct.css" /> <style> /* General Page Styles */ body { font-family: system-ui, sans-serif; background: #111; color: #eee; margin: 0; padding: 2rem; } h1 { font-size: 2rem; margin-bottom: 1.5rem; } section { display: grid; gap: 1rem; } /* Base Tag Styling (Optional fallback if tag is missing CSS in cct.css) */ red, green, blue, pink, orange, purple, yellow, cyan, brown, gray, black, white, gold, silver, teal, lime { display: block; padding: 1rem; font-weight: bold; border-radius: 0.5rem; text-transform: uppercase; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); } </style> </head> <body> <h1>cct.css – Custom Tag Showcase</h1> <section> <red>&lt;red&gt; Hello Red</red> <green>&lt;green&gt; Hello Green</green> <blue>&lt;blue&gt; Hello Blue</blue> <pink>&lt;pink&gt; Hello Pink</pink> <orange>&lt;orange&gt; Hello Orange</orange> <purple>&lt;purple&gt; Hello Purple</purple> <yellow>&lt;yellow&gt; Hello Yellow</yellow> <cyan>&lt;cyan&gt; Hello Cyan</cyan> <brown>&lt;brown&gt; Hello Brown</brown> <gray>&lt;gray&gt; Hello Gray</gray> <black>&lt;black&gt; Hello Black</black> <white>&lt;white&gt; Hello White</white> <gold>&lt;gold&gt; Hello Gold</gold> <silver>&lt;silver&gt; Hello Silver</silver> <teal>&lt;teal&gt; Hello Teal</teal> <lime>&lt;lime&gt; Hello Lime</lime> <white>ect.</white> </section> </body> </html>