4 ms·
Is it possible to apply CSS to half of a character?
- gioele 10y agoPast HN discussion (85 comments): https://news.ycombinator.com/item?id=7733658 https://news.ycombinator.com/item?id=7733658
- sdegutis 10y agoYour scientists were so preoccupied with whether or not they could, they didn’t stop to think if they should.
- traverseda 10y agoFunny story, this is a direct result of my (small) city spending something like half a million on new branding. http://www.halifax.ca/home/ http://www.halifax.ca/home/
- Bromskloss 10y agoI see they weren't as advanced, but resorted to an image instead. :-(
- Someone1234 10y agoNothing inherently wrong with an image for a logo, since it works consistently across browsers (both old and new) and looks identical to everyone. You'll just want the master to be a vector graphic so that you can create multiple scaled raster graphics (e.g. PNGs) to fit different circumstances and usages (since, again, browser support sucks for a lot of vector formats).
- Slaul 10y agoAlways nice to see fellow Atlantic Canadians online! I'm from Saint John, NB.
- sten 10y agoHello from Halifax! Second time I've seen some of us here. Did we really spend that much on a that logo?
- trowawee 10y agoHalifax is in Nova Scotia! Which is in Canada! Which is on Earth! Which is in Canada!
- smpetrey 10y agohttp://razvanbalosin.com/Splitchar.js/ http://razvanbalosin.com/Splitchar.js/
- sdegutis 10y agoThat website seems to assume nobody uses a mouse's scroll wheel. Kind of frustrating.
- throwaway2016a 10y agoInteresting, this works in Chrome for me but it uses attr() in CSS and CanIUse says that's not usable: http://caniuse.com/#feat=css3-attr http://caniuse.com/#feat=css3-attr I've never seen that website be wrong so I'm slightly confused.
- RussianCow 10y agoIf you read closer: CSS Values and Units Level 3 adds the ability to use attr() on any CSS property, not just content, and to use it for non-string values (e.g. numbers, colors). It's not attr that's unusable, but rather being able to use it on any arbitrary CSS property. Though I'm surprised they don't have a separate entry for just the attr function alone.
- rbobby 10y agoJust needs a touch of marquee and we're golden!
- 0x4a42 10y agoand blink :)
- duke360 10y agomajestic reply on StackOverflow by user Arbel. should be taken as example of completeness and clearity
- rosalinekarr 10y agoIt's WordArt all over again
- Klathmon 10y agoSome of my favorite "code golf" things with CSS (if you can even call it that) have to do with re-creating word-art-esque things. 3-d block lettering is surprisingly difficult to do