pastesite.com New paste

Share CSS without losing the cascade

Guide · updated October 2026 · 2 min read

CSS bugs are order bugs. The rule that wins is the one that comes last, has the higher specificity, or carries !important — and every one of those details disappears the moment a stylesheet is pasted into a chat window that reflows it.

Keep the order and the comments

Paste the stylesheet as-is, with comments. A comment like /* overrides bootstrap */ is often the explanation for the bug. Choose CSS as the language so selectors, properties and values are distinguishable.

The kind of detail worth preserving

/* specificity: 0,2,0 — beats .card .title below */
.panel .title { color: #0f172a; }

.card .title { color: #64748b; }

What to strip

Sharing the computed value instead

Sometimes the stylesheet is not the problem: the problem is what the browser computed. Paste the relevant rules from devtools, or the output of a small script, rather than screenshots of the styles panel. Text can be searched and diffed; a screenshot of a styles panel cannot.

Comparing a before/after stylesheet? Compare text highlights the changed declarations. Create a CSS paste

Frequently asked questions

Does the paste apply my CSS?

No. The stylesheet is displayed as text and never injected into the page, so it cannot affect the site or the reader.

Can I share a whole framework stylesheet?

Up to 100,000 characters. A minified framework file usually exceeds that — share the specific rules involved instead.

Is SCSS or LESS supported?

The highlighting is CSS-based; SCSS and LESS mostly colour correctly because they share syntax. Nested selectors may look slightly off.

Can I password-protect a stylesheet?

Yes, and for client work it is worth doing. Send the password separately from the link.