4 ms·
Looking at his other articles on his blog I stumbled upon this one: http://www.456bereastreet.com/archive/201304/responsive_drop_shadows/ http://www.456bereastr
by usaphp 11y ago
Looking at his other articles on his blog I stumbled upon this one: http://www.456bereastreet.com/archive/201304/responsive_drop_shadows/ http://www.456bereastreet.com/archive/201304/responsive_drop...
He recommends using images in order to create a shadow...and that was in the middle of 2013, when "box-shadow" css attribute was supported by all major browsers with some prefixes...and the funniest part is that he is using shadow image as an :after pseudo-element which has the same browser support as the "box-shadow", this tells a lot about his CSS skills.
- BinaryIdiot 11y agoPerhaps you should check your own CSS skills before trying to find further information on his blog to simply use to trash him? This wasn't even constructive it was just a rush to find something to say "ah ha!". IE8 supports :after[1], IE8 does not support box-shadow[2]. Furthermore he even explains, in his first paragraph, that what he is showing allows for a more complex design look over 'box-shadow' which, even if what you originally said was true about browser compatibility, it still explains his reasoning and says absolute nothing about his CSS skills. [1] http://caniuse.com/#search=%3Aafter http://caniuse.com/#search=%3Aafter [2] http://caniuse.com/#search=box-shadow http://caniuse.com/#search=box-shadow
- usaphp 11y agofrom the article: "I then gave the box element a padding-bottom in percent, calculated by dividing the image’s intrinsic height by its width, in this case 37 by 992 pixels" What the hell is that? if somebody recommends me doing that he obviously is not that good with CSS. Also how is support for IE8 is even relevant? It's a 7 year old browser.
- robocat 11y ago> Also how is support for IE8 is even relevant? Ten employee business, 5% of clients today on IE8. We have fewer users on Firefox, so we should do support for that too... And we might as well stop supporting our Android users too. Generally we drop support when user stats drop below 1%. Even that can cause a lot of trouble for our client businesses (we don't want to be hated for making them change, regardless of how impatient we are for them to do so, or how insecure they are for not doing so).
- usaphp 11y agoIf a customer is still using IE8 I am positive that he will be OK with not seeing a box shadow on an element, and making 95% of other clients suffer and download images for generating box shadow is just plain stupid for me. I would either ditch those 5% of clients and focus on better features than spending lots of time on restraining cool functionality in order to satisfy a 5% of users on IE8
- BinaryIdiot 11y ago> making 95% of other clients suffer and download images for generating box shadow is just plain stupid for me. The images are likely a few hundred bytes if you do it right. Regardless this is an old article you dug up just to attack the guy; OBVIOUSLY it's far less relevant today than it was when it was originally written.