3
$\begingroup$

#actions /* 0,1,0,0 */

.words /* 0,0,1,0 */


Hints:

Hint 1:

It's a coding language.

Hint 2:

The two lines are snippets that won't work on their own.

Hint 3:

It's a stylesheet language.

Hint 4:

It's CSS.

Hint 5:

It relates to an aspect of CSS which many people find confusing.

Hint 6:

The numbers in the comments are there to help you, but they merely make other stuff more obvious.

Hint 7:

Why was the BEM naming convention created?

Hint 8:

It's about specificity.

$\endgroup$
8
  • $\begingroup$ Actions speak louder than words... and as for Cascading Style Sheets (CSS) specificity, ID's (#) trump over class (.).... $\endgroup$
    – zipzit
    Commented Jun 2, 2016 at 23:00
  • $\begingroup$ @zipzit Oh dear, that was too easy. Do you want to post that as an answer? $\endgroup$
    – gcampbell
    Commented Jun 2, 2016 at 23:01
  • $\begingroup$ Gcampbell the actions and words gave it away. I didn't understand any of the coding, but that's a very common phrase $\endgroup$
    – Inazuma
    Commented Jun 2, 2016 at 23:02
  • $\begingroup$ @Inazuma You guys don't have a sandbox like on PPCG? $\endgroup$
    – gcampbell
    Commented Jun 2, 2016 at 23:07
  • 1
    $\begingroup$ Honestly, I would have given fewer hints.... but it was still a great first time ever posting. $\endgroup$
    – zipzit
    Commented Jun 2, 2016 at 23:07

1 Answer 1

7
$\begingroup$

Actions speak louder than words...

As for Cascading Style Sheets (CSS) specificity, ID's(#) trump over class(.) identifiers. Here's a reference.

CSS Specificity Rankings

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.