CSS Variables

I'm quite excited about CSS variables. This pen is for learning the basics about CSS variables through some cards about foods! All the facts about each fruit is from google.

Check out the list of resources used in the footer. And read the comments in the css code.

somethng about cherries...

A cherry is the fruit of many plants of the genus Prunus, and is a fleshy drupe.

It's an orange!

Who doesn't love a delicious and juicy orange as a snack? They are a popular snack because they're so healthy and offer a boost of energy!

tasty watermelons!

Watermelons are mostly water — about 92 percent — but this refreshing fruit is soaked with nutrients.

Let's start some font size madness! Since inheritance works on variables, we should be able to create some utter chaos with em 's.

Look, a lemon!

Although lemons and limes may not be what you would choose for an afternoon snack......

The health benefits of lemon include treatment of throat infections, indigestion, constipation, dental problems, fever, internal bleeding, rheumatism, burns, obesity, respiratory disorders, cholera and high blood pressure, while it also benefits your hair and skin. As a refreshing drink, lemonade helps you to stay calm and cool.

some fun facts about lemons that you may not know.....

  • attaching electrodes to a lemon can create a battery that produces electricity. Several lemon batteries can power a small digital watch.
  • In 2003, the heaviest lemon ever grown was recorded in Kefar Zeitim, Israel. It weighed 5.265 kg (11 lb 9.7 oz).