Live data from Hacker News

The Queen’s stylesheets

spiffingcss.com

61–70 of 74 posts

Re: The Queen’s stylesheets

#61

Earlier quoted context omitted.

Some are incorrect. Transparency and opacity are opposites.

They are in the sense that 100% transparency = 0% opacity. But in the end, aren't they both giving the same effect in CSS? 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.)

Yes, but the processor doesn't flip the values.

  transparency: 0;
!=

  opacity: 0;

Re: The Queen’s stylesheets

#64
It's amusing, although I'm lost with their proposal of "transparency" over "opacity", since they are opposites and, as far as I know, used on both sides of the Atlantic. Also obtaining the transparency would require applying the transformation x -> 1-x to the opacity.

I feel I'm missing something with this example.

Re: The Queen’s stylesheets

#65

It's amusing, although I'm lost with their proposal of "transparency" over "opacity", since they are opposites and, as far as I know, used on both sides of the Atlantic. Also obtaining the transparency would require applying the transformation x -> 1-x to the opacity. I feel I'm missing something with this example.

As a Brit I concur with you good sir. We use both words (transparency and opacity) this side of the Atlantic.

And as you say, "transparency: 0.2;" would equal "opacity: 0.8;"

Re: The Queen’s stylesheets

#66
This is not something that ought to require substitution. It is not beyond the realms of technical possibility to make the parsers accept both "color" and "colour" as correct. Similarly for other common substitution pairs.

Re: The Queen’s stylesheets

#68

Earlier quoted context omitted.

Some are incorrect. Transparency and opacity are opposites.

They are in the sense that 100% transparency = 0% opacity. But in the end, aren't they both giving the same effect in CSS? 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 prefer the word transparency, it just seems..."

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.

Re: The Queen’s stylesheets

#69

Earlier quoted context omitted.

Some are incorrect. Transparency and opacity are opposites.

They are in the sense that 100% transparency = 0% opacity. But in the end, aren't they both giving the same effect in CSS? 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.)

Har har.

Re: The Queen’s stylesheets

#70
As an Englishman I must say that it really does bother me when people attempt to write or talk in the manner they imagine an English gentleman might. It always feels quite stilted, particularly in the not-quite-correct usage of unnecessarily antiquated vocabulary.
Post reply on HN