FantaCSS

GitHub

A lightweight, fantasy themed stylesheet with basic styling for HTML elements.

You can use these for straightforward static websites or as a foundation to build upon with your own custom classes. This isn't a full CSS framework with layout grids, components or comprehensive utility classes.

Features

Why I made this

I created FantaCSS because I ...

  1. Design a lot of websites
  2. Love fantasy themed stuff
  3. Want to give everyone the theme

How to use

Grab the fanta.css stylesheet and add it manually to your app/site.

Alternatively, drop this right into your <head> to use it via a CDN.

<link rel="stylesheet" href="https://unpkg.com/jamezmca/fanta.min.css">

Demos


address

hello@world.com
(09) 0800 83 83 83

aside

A penguin is a type of flightless bird that belongs to the family Spheniscidae.

Penguins are primarily found in the Southern Hemisphere, with most species living in Antarctica, but they can also be found along the coasts of South America, Africa, Australia, and New Zealand.

headings

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

inline text elements

When Zuko is struggle to quell his shame, Uncle Iroh proffers the following wisdom: Pride is not the opposite of shame, but its source, and humility the cure. CSS is used to style the elements in your HTML. And this stylesheet is Smol (small but cuter). First sentence in Nineteen Eighty-Four by George Orwell (Part 1, Chapter 1).

The push() method adds one or more elements to the end of an array and returns the new length of the array. We had to do something about it. I looked at it and thought This can't be real!.

Please press Ctrl + Shift + R to re-render an MDN page. These penguins are well adapted to life in the water, with streamlined bodies, flipper-like wings, and webbed feet, making them excellent swimmers. James is not cool. Instead, here is a message you need to hear:

James is very very ...
very cool!

Please always continue to feed me after midnight. Almost every developer's favorite molecule is C8H10N4O2, also known as "caffeine." The Pythagorean theorem is often expressed as the following equation: a2 + b2 = c2.

My birthday is and I was born in New Zealand. I wake up at and continue to be disfunctional for another hours. In such time I many numerous speling mistakes, which I need you to corect. The volume of a box is l × w × h, where l represents the length, w the width and h the height of the box. There is nothing no code either good or bad, but thinking running it makes it so.

This sample section of in-line text was mostly sourced from this wonderful HTML reference over here.

blockquote

If there's something you want to do, you can either do it or not do it. I know what I'd do.

dl (description list)

Elyas
My preferred boys name.
Slimey Slippery Sausage
A sea serpent.
Daisy
My preferred girls name.

ol (ordered list)

  1. Whisk 1 cup flour and 1/4 tsp salt in a bowl.
  2. Add 2 eggs and mix until smooth.
  3. Gradually stir in 1/2 cup milk and 1/2 cup water.
  4. Mix in 2 tbsp melted butter until smooth.
  5. Let the batter rest for 30 minutes.

ul (unordered list)

pre

   ______________________________
  | You wot mate try me again i dare u. |
   ----------------------------------------------
    \  
       \  /\_/\
         ( o . o )
          > ^ <
      

img

Pixel art of samurai in snowly dojo

audio

video

table

Penguin Name Unique Trait Fun Fact
Emperor Penguin Tallest penguin species Can hold its breath for up to 20 minutes underwater.
Little Blue Penguin Smallest penguin species Also known as the "Fairy Penguin" due to its size.
Rockhopper Penguin Spiky yellow feathers on head Known for hopping across rocks with great agility.
Macaroni Penguin Bright orange crest on its head Named after a flamboyant 18th-century fashion style.

button

datalist

fieldset

Choose your favorite monster

form

select

text area

summary/details

Details Something small enough to escape casual notice.

meter

optgroup

progress

70%

range/output

0

color picker

custom classes

For those extra special cases we have some customized classes such as...

card
class="card"

This is a plain old and simple card

Header

And this card has some action buttons that use the classes class="button-card-primary" and class="button-card-secondary" respectively.

Both of which can be disabled by adding the disabled attribute to the opening tag!

the button card
class="button-card"
text gradient
class="text-gradient"

Please consider ⭐️ the GitHub repo!