Cards
Overview
Cards are visual containers that can help build structured layouts and neatly contain information.
They can be defined by applying the class fc-card
to the desired element.
Currently, cards are implemented to allow the following sub-sections:
-
Title:
fc-card-title
-
Content:
fc-card-content
-
Image:
fc-card-image
-
Tabs:
fc-card-tabs
-
Footer:
fc-card-footer
This is a Generic Card
<div class="fc-card">
<div class="fc-card-title">
<h4>
This is a Generic Card
</h4>
</div>
<div class="fc-card-content">
You can put whatever you want here.
</div>
</div>
Card Sections
Title
class="fc-card-title"
A section meant to hold a title for the card. Usually paired with a header tag.
<div class="fc-card">
<div class="fc-card-title">
<h4>
This is Title
</h4>
</div>
</div>
Content
class="fc-card-content"
A section for generic content. Generally the bulk of card content will be here. You can put whatever you want in content blocks.
<div class="fc-card">
<div class="fc-card-content">
You can put whatever you want here.
</div>
</div>
Image
class="fc-card-image"
A section for including images in a card. Used with img
or figure
elements.
<div class="fc-card">
<div class="fc-card-image">
<img src="/assets/Moose.jpg"
alt="picture of Moose the cat" />
</div>
</div>
Tabs
class="fc-card-tabs fc-tab-group"
A section for including tabs in your card. Pair the tab content with another card section. It is recommended to include all tab-content elements in one card section, to avoid any extra borders or artifacts.
<div class="fc-card">
<div class="fc-tab-group fc-primary fc-card-tabs">
<button class="fc-tab-btn fc-tab-active">Tab One</button>
<button class="fc-tab-btn">Tab Two</button>
</div>
<div class="fc-card-content">
<div id="tab-one" class="fc-tab-content fc-tab-active">
<p>
Tab One Content
</p>
</div>
<div id="tab-two" class="fc-tab-content">
<p>
Tab Two Content
</p>
</div>
</div>
</div>
Footer
class="fc-card-footer"
Customizing Cards
class="fc-card fc-flat"
You can remove the card shadow by adding the fc-flat
class.
class="fc-card fc-border-{color}"
You can change the border colors with the fc-border-{color}
classes,
described in colors.
class="fc-card fc-bg-{color}"
You can Change the background color of the card with the fc-bg-{color}
classes,
described in colors.
class="fc-card-content fc-bg-{color}"
Background colors can also be applied to individual sections. Mix and match!
Lay on arms while you're using the keyboard make plans to dominate world and then take a nap yet decide to want nothing to do with my owner today meow to be let in, scratch at the door then walk away, spend all night ensuring people don't sleep sleep all day, for man running from cops stops to pet cats, goes to jail.
Title
ONE Lay on arms while you're using the keyboard make plans to dominate world and then take a nap yet decide to want nothing to do with my owner today meow to be let in, scratch at the door then walk away, spend all night ensuring people don't sleep sleep all day, for man running from cops stops to pet cats, goes to jail.
TWO Lay on arms while you're using the keyboard make plans to dominate world and then take a nap yet decide to want nothing to do with my owner today meow to be let in, scratch at the door then walk away, spend all night ensuring people don't sleep sleep all day, for man running from cops stops to pet cats, goes to jail.
THREE Lay on arms while you're using the keyboard make plans to dominate world and then take a nap yet decide to want nothing to do with my owner today meow to be let in, scratch at the door then walk away, spend all night ensuring people don't sleep sleep all day, for man running from cops stops to pet cats, goes to jail.
Title
Chew iPad power cord what the heck just happened, something feels fishy for gimme attention gimme attention gimme attention gimme attention gimme attention gimme attention just kidding i don't want it anymore meow bye put toy mouse in food bowl run out of litter box at full speed yet scratch at fleas, meow until belly rubs
Title
Sleeps on my head. You call this cat food relentlessly pursues moth and leave dead animals as gifts, for get my claw stuck in the dog's ear leave dead animals as gifts, so peer out window, chatter at birds, lure them to mouth but ignore the human until she needs to get up, then climb on her lap and sprawl. Attack dog, run away and pretend to be victim all of a sudden cat goes
Another card content section
Moose
Make it to the carpet before i vomit mmmmmm. Chew master's slippers meowing chowing and wowing for stick butt in face hiiiiiiiiii feed me now and love you, then bite you. Cough furball cough, that box? i can fit in that box. Jump five feet high and sideways when a shadow moves mark territory, give attitude, but my cat stared at me he was sipping his tea, too, so stinky cat.
Massacre a bird in the living room and then look like the cutest and most innocent animal on the planet catasstrophe lick left leg for ninety minutes, still dirty or lick face hiss at owner, pee a lot, and meow repeatedly scratch at fence purrrrrr eat muffins and poutine until owner comes back. Poop in a handbag look delicious and drink the soapy mopping up water then puke giant foamy fur-balls
Moose
Chew on cable wake up human for food at 4am lick arm hair but you are a captive audience while sitting on the toilet, pet me but throw down all the stuff in the kitchen. Hiding behind the couch until lured out by a feathery toy meow to be let in but plays league of legends, or leave fur on owners clothes for meeeeouw so lie in the sink all day friends are not food. Good morning