• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

AreWeConnected.com

Custom WordPress Websites that Rock!

  • Home
  • About
    • Hire a Tech Dude!
    • Recommendations
    • Add your testimonial
  • WordPress
    • Custom WordPress Website Build
    • The Managed EVERYTHING Website!
    • Making your site “SECURE”
  • FAQ
    • Making Your Site SECURE
  • BLOG
    • Posts about WordPress
    • Guest Post and Comment Policy
  • Contact

June 18, 2015

What is CSS?

A few people asked what CSS was and what it did. Here’s a quick and easy video explaining exactly what CSS (a Cascading Style Sheet) is and what it does.

Most every site these days runs a main style sheet but there are also many others running as well. Every plugin has it’s own style sheet.  CSS can dictate colors, underlines, padding and margins and so much more.

The browser looks at all of them. If and when it finds there are competing items (i.e. multiple instructions for a specific item) the browser will use the last one as it’s rule. That’s the cascading part.

Here’s a sample test:

Imagine having a single page of rules. Near the top you have a rule that says, “Anytime a post uses an element with an ID of Bananas, put a dotted border around it“. (why you would do that, I don’t know)

In the middle of the page you might have a rule that says, “Anytime the ID of bananas is used, make the text Yellow and make the border a solid line.”

And then at the bottom you might have a rule that says, “ID of Bananas? Make the border color Red.”

The browser would look at all three and for our fictional ID of bananas we would end up with…  Can you guess?

A section with Yellow text and a solid Red border. Did you get that too?

Posted in: WordPress

New Comment Policy:
If you see something, say something!
(shamelessly borrowed from Homeland Security but really, let's bring commenting on posts back!)

Primary Sidebar

Who runs this Pop Stand?

Mike Mueller
Mike@AreWeConnected.com
PH: (925) 456-4567

Connect

  • Facebook
  • Flickr
  • Instagram
  • LinkedIn
  • RSS
  • Tumblr
  • Twitter
  • YouTube

Look, it’s Just a Newsletter!

  • While I might write a bunch, the newsletter is set to go out only on Wednesdays. That's it!  Just one day a week! Can you handle that?
  • This field is for validation purposes and should be left unchanged.

FREE Downloads

Icon
1827Small Biz Websites Built so far…

Let's Build Yours!

Expert Google Workspace help

Get Started and then hire the right help!

Lighten up!

Search: (anything)

Sign In / Up

  • Account
  • Website Management Subscription
  • The Managed EVERYTHING Website!

DM me. Really!

Have a question about anything I do? DM me! Message @mikemueller

Who to host with?

It's the #1 question I'm asked - where to find inexpensive shared hosting. Here's who I recommend.
Data Servers are a HUGE drain on the power grid. Here's a host that sources 300% of it's power from Wind and Solar! On top of that, their service ROCKS!
Check out GreenGeeks

Need more power?

WPEngine has it!

Hacked?

Sucuri Security
Creative Commons License
This site was built, is hosted, and backed up, and maintained by Mike Mueller. AreWeConnected is about the open sharing of ideas without a hidden agenda. Assume any link on this site is an affiliate link, Clicking on affiliate links costs you nothing extra (probably saves you $) and helps support this site.
PRIVACY POLICY

MANAGE YOUR ACCOUNT

CHAT
...another Custom Wordpress Website by Mike Mueller Hi!