dbEx.html, Showcasing the db.css file.

Copy external stylesheet that has db.css file

🌙

var(--dbcolor) Colors

Main Colors
--dbBlue
--dbRed
Pixel Ink
--piBlack
--piWhite
LimechattSlice Colors
--FineLime
--DarkLime
--ReallyDarkLime
--CapitalLime

db-bg-color

blue

the main blue color

red

the alternative red color


db-scene IDs

Allows you to scroll through different "scenes". If an id starts with db-scene or is equal to db-default-scene, it'll behave like these examples. If you want to get more complicated with these, ex. like other elements turning on when #db-scene-2 is showing, you could do this:

<hr hidden id="db-scene-1" /> never fails!!

id="db-default-scene"

Default one that shows up. (used as fallback)

Go to #db-scene-1

id="db-scene-1"

First scene.

Go to #db-scene-2

id="db-scene-2"

Second scene.

Go to #unknown-scene (doesn't exist)

Well, while you're here, have some tests that didn't work at all.

all db-test's

db-test1 (this one works now, in chrome 133)

Testing out if attr() could work in something like width.


SANS, LOOK! A HUMAN! (Papyrus Font)

Comic Sans DB, supported on mobile.

Actual Comic Sans named "cursive", isn't supported on mobile

db-fire (Agate Font)

AGHHH FIRE OR SOMETHING ALONG THE LINES OF THOSE

its kind of hard to read when the text is small lol


db-rainbow

db-rainbow-classic

sadly does not work for images.

db-spoiler

db-spoiler-nohover, makes it blurred only

a

db-glow

Control the glow with the --db-glow-color property.


db-align-container


db-blockquote / <blockquote db>

the doodoo. the doodoo. the doodoo.
the doodoo. the doodoo. the doodoo.
the doodoo. the doodoo. the doodoo.
the doodoo. the doodoo. the doodoo.
the doodoo. the doodoo. the doodoo.
the doodoo. the doodoo. the doodoo.
the doodoo. the doodoo. the doodoo.
the doodoo. the doodoo. the doodoo.

Adding a 'cite' attribute

For 60 years, WWF has worked to help people and nature thrive. As the world's leading conservation organization, WWF works in nearly 100 countries. At every level, we collaborate with people around the world to develop and deliver innovative solutions that protect communities, wildlife, and the places in which they live.

db-code / <code db>

You can control the db-code's color simply by just using the color property!

db-small / <small db>

hi, this is the small tag reimagined!

db-counter-reset, db-counter-add & db-counter

You can set the counters by using --db-counter: db-global-counter.

db-scroll

You can control the speed with the --db-scrollspeed property. It depends on the element's size.
You can use --db-scrollStart: 100% & --db-scrollEnd: -100% to control when the animation loops.

db-bounce

db-bounce

You can use --db-bounceX & --db-bounceY to control when they hit the border.

db-divspan

Divspan's basically display: inline-block. Something
like this
, where its a block but also doesn't add linebreaks.

db-document

so umm like i have a confession, i stole this one from my friend tomato lmaoo, this is probably how i got deep into css

The "db-hover-before/after" attribute

Before text

After text


The "db-statement" Attribute


The 'db-resize' Attribute


<hr> & the 'db' attribute

The sole reason why I absolutely love <hr> is because it is a single tag where you could put everything in using pseudo-elements such as ::before/after.