Search for:
Cart 0
  • Home
  • Corsi
    • Culturali
    • Lingue
    • Arte
    • Scientifici
    • Aiuto allo studio
  • Eventi
  • Traduzione e interpretariato
  • Contattaci
  • Su di noi
  • Collabora con noi
  • phone 3703442761
  • email info@cassettoculturale.it
0
Cassetto culturale
  • Home
  • Corsi
    • Culturali
    • Lingue
    • Arte
    • Scientifici
    • Aiuto allo studio
  • Eventi
  • Traduzione e interpretariato
  • Contattaci
  • Su di noi
  • Collabora con noi
Il Mio Account

Blog

Cassetto culturale > Business > I Turned a Challenge Into a Positive Thing

I Turned a Challenge Into a Positive Thing

access_time20 Aprile 2018
perm_identity Posted by cassadmin
folder_open Business

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: schoolstudentsteacher
Older Students Inducted Into Business Honor Society

1 Comment

Join the discussion and tell us your opinion.

  • A WordPress Commenter ha detto:
    20 Aprile 2018 alle 18:50

    Hi, this is a comment.
    To get started with moderating, editing, and deleting comments, please visit the Comments screen in the dashboard.
    Commenter avatars come from Gravatar.

    Rispondi

Rispondi a A WordPress Commenter Annulla risposta

Calendario
Today
Lun
Mar
Mer
Gio
Ven
Sab
Dom
l
m
m
g
v
s
d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
Eventi
  • PRENOTA: INGLESE CONVERSAZIONE 13 SETTEMBRE – 10 EURO
    • 13 Settembre 2022
  • PRENOTA: INGLESE CONVERSAZIONE 27 SETTEMBRE – 10 EURO
    • 27 Settembre 2022
  • PRENOTA: INGLESE CONVERSAZIONE 11 OTTOBRE – 10 EURO
    • 11 Ottobre 2022
    • Modena
  • PRENOTA: INGLESE CONVERSAZIONE 25 OTTOBRE – 10 EURO
    • 25 Ottobre 2022
    • Modena
  • PRENOTA: INGLESE CONVERSAZIONE 15 NOVEMBRE – 10 EURO
    • 15 Novembre 2022
    • Modena
  • Cassetto Culturale
    Via Pietro Giardini, 378
    41124 Modena (MO)
    tel. 370 3442761
    info@cassettoculturale.it

    Collegamenti rapidi
    • Privacy
    • Contatti
    • Su di noi
    • Corsi
    • Home
    • Collabora con noi

      NEWSLETTER

      Non perdere gli ultimi aggiornamenti sui nostri corsi e i nostri eventi.

      Cassetto Culturale Modena Partita IVA 03736430368
      Corsi ed eventi culturali a Modena
      keyboard_arrow_up