by itafroma · 13y ago · 0 comments
'colour' => 'color',
'grey' => 'gray',
'!please' => '!important',
'transparency' => 'opacity',
'centre' => 'center',
'plump' => 'bold',
'photograph' => 'image',
'capitalise' => 'capitalize'
Would've thought there'd be a ton of opportunities to pedantically correct CSS's choice of words. !please instead of !important made me laugh, though.[1]: Taken from https://github.com/idiot/Spiffing/blob/master/spiffing.php (aside, please don't use this project as a good example of PHP code style).
Reminded me of INTERCAL:
INTERCAL has [..] modifiers such as "PLEASE". This last keyword provides two reasons for the program's rejection by the compiler: if "PLEASE" does not appear often enough, the program is considered insufficiently polite, and the error message says this; if too often, the program could be rejected as excessively polite.
In Illustrator, for example, the interface has an opacity setting but the help file refers to it as setting the transparency since that is essentially what you're doing when you lower the opacity. (Personally, I prefer the word transparency, it just seems clearer to me.)
I cannot decide to up vote or down vote your comment based solely upon this statement. Therefore, take my lack of voting as a positive affirmation that I have no strong feelings one way or the other.
transparency: 0;
!= opacity: 0;