• Home
  • Products
    • Consumables
    • Medical Equipment
  • About Us
  • Our Team
  • Contact
  • phone (+250) 079 159 0051
  • email info@rugeromed.com
Rugero Med
  • Home
  • Products
    • Consumables
    • Medical Equipment
  • About Us
  • Our Team
  • Contact

Blog

Rugero Med > News > Campus Life > Qui dolorem ipsum quia dolor sit amet

Qui dolorem ipsum quia dolor sit amet

access_timeJune 13, 2018
perm_identity Posted by rugeromed
folder_open Campus Life

CSS. It’s a web designer’s playpen. With so many colors, type settings, layout options, and responsive possibilities, it’s easy to turn a stylesheet into a million line nightmare. However, with a few simple actions you can clean up the mess so the CSS works with you, not against you. A few weeks ago, frontend developer Julie Cameron came through our virtual Treehouse office and bestowed some wisdom we still can’t shake. So now I’m sharing it with you all!

It’s only natural. Entanglement happens.

The cascade. It’s a blessing and a curse. It’s often the case that when you change the styling of one element, other elements inadvertently get restyled. Misuse of !important makes the cascade come to a screeching halt, and leaves you with inconsistencies from one element styling to the next. As websites get bigger or more developers start working on the codebase,

the CSS tends to grow as well. Without a plan, it becomes the Wild Wild West (wickey wild, wicky wicky wild wild wild west…Will Smith isn’t gonna get you out of this one).

  • Modular – You can get to the point of building a page without writing a single line of CSS.
  • Predictable – It doesn’t matter where you put the component, it’ll behave the same and look the same. It’s easy to write the code. You have systems in place for naming it. It’s more intuitive to write.
  • Maintainable – It’s quick and easy to deal with. It won’t break other things on the site.
  • Scalable – It’s hard to break and easy to build onto.
  • Dry – It eliminates the need for copy and paste duplication in the CSS.
  • Organized – There’s a place for everything.

Separation of container from content means that objects should look the same no matter where you put them. In other words, avoid location-dependent styles. For example, if you’re styling an h2 like this…

Tags: coursethemewordpress

Leave a Reply Cancel reply

Search for:
Recent Posts
  • Hello world!
  • Ut enim ad minima veniam
  • Tips to Developing a Quality Discussion
  • Reflections for the Season of Advent
  • It’s Wonderful to see the Friendships that Develop
Recent Comments
  • A WordPress Commenter on Hello world!
  • Anna on Reflections for the Season of Advent
  • Andrew on Ut enim ad minima veniam
  • Marcy Washington on Ut enim ad minima veniam
  • Caleb Torres on Ut enim ad minima veniam
Archives
  • August 2020
  • June 2018
  • April 2018
Categories
  • Academics
  • Adverisement
  • Business
  • Campus Life
  • Design
  • Government
  • School
  • Uncategorized
Meta
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Ad Banner
Tags
codebean course medical parents school supply teacher theme wordpress
Ad Banner

Logo Light
We supply medical and surgical consumables, offering a variety of products ranging from hospital gowns to syringes.

  • location_on
    KG 607 ST, Rugando, Kimihurura
  • phone_android
    (+250) 079 159 0051
  • email
    info@rugeromed.com
Quick Links
  • Absorbable Hemostat
  • Cosmetic Surgery
  • Infection Control
  • Neurosurgery
  • Sterile Medical Textile
  • Wound Dressing
  • About Us
  • Contact
Newsletter

Don’t miss anything, sign up now and keep informed about our products.

© 2023 Rugero Med. All rights reserved
keyboard_arrow_up