joshnh
Apple TV Aerial Views Screen Saver for OS X
Re:Em Baseline Generator
on Tuesday April 02, 2013 @08:49PM (#5483388)
What browser/OS? I can't replicate the issue you seem to be having.
Re:Em Baseline Generator
on Tuesday April 02, 2013 @08:49PM (#5483384)
I plan on having an option to output rem with px fallback code.
Re:Em Baseline Generator
on Tuesday April 02, 2013 @10:29AM (#5479444)
Only if you are using line-height to hack together a print baseline on the web.
Let me put it this way, if there was a semi-reasonable solution, I'm sure you would have heard about it.
Re:Em Baseline Generator
on Tuesday April 02, 2013 @08:19AM (#5478830)
Spot on. Perhaps I could have used a different term, but 'baseline' gives visitors an immediate sense of what the tool does.
The purpose is to mimic the effect of a print baseline by enforcing vertical rhythm, and while not perfect, it's often better than none at all.
Re:Em Baseline Generator
on Tuesday April 02, 2013 @07:33AM (#5478677)
Good call, I've fixed that.
Re:Em Baseline Generator
on Tuesday April 02, 2013 @07:19AM (#5478630)
Ems are more versatile. When increasing the size of all fonts at a particular breakpoint for instance. Instead of having to adjust each font-size property individually you can simply change the font-size of the root element.
Re:Em Baseline Generator
on Tuesday April 02, 2013 @07:17AM (#5478619)
Absolutely, you can hack it on a very individual basis, but this introduces some major problems. For instance, browsers and operating systems all render fonts differently, and as the web is fluid by nature, simply having a sentence break to the next line can be an issue. Also, it can be incredibly different based on the typefaces you are using.
Re:Em Baseline Generator
on Tuesday April 02, 2013 @06:45AM (#5478541)
Hi, creator here. Unfortunately that's not how CSS works. See here for more information: http://joshnh.com/2012/10/12/how-does-line-height-actually-w...
Re:How I Instagram
on Sunday December 09, 2012 @09:04PM (#4897069)
Am I the only one that simply imports hi-res photos into Instagram then?
Re:Show HN: liffect — CSS3 animation effects for lists
on Sunday November 04, 2012 @10:34PM (#4742124)
The page shift can be fixed by using:
html { overflow-y: scroll; }
Pr.ofile.me - Digital, mobile business cards
Recreating a Classic Piece of the Web with CSS
CSS-Tricks has been redesigned
Re:Increasing the Clickable Area of Inline Links
on Thursday September 06, 2012 @01:59AM (#4483015)
Would you mind sharing some more information on these 'elegant solutions'? I'm yet to experience them.
Increasing the Clickable Area of Inline Links
Re:Single Element MacBook Pro with CSS
on Thursday August 16, 2012 @01:50AM (#4390068)
You could actually scale it if I had have used ems/rems instead of px. But you are right, an image is the way to go for production.
Re:Single Element MacBook Pro with CSS
on Wednesday August 15, 2012 @06:38PM (#4388668)
Spot on. I clearly state in the description field that it is only an experiment.
Re:Single Element MacBook Pro with CSS
on Wednesday August 15, 2012 @08:47AM (#4385652)
I am; Melbourne based. Thanks!
CSS Transforms and Z-Index leads to some unexpected behaviour
Re:Single Element MacBook Pro with CSS
on Wednesday August 15, 2012 @07:45AM (#4385464)
G'day, I'm the guy that made it. I agree with your comment completely, I had one pretty big constraint though; one element allowed. I'd like to think that is why it is getting upvoted.
Re:Single Element MacBook Pro with CSS
on Wednesday August 15, 2012 @07:14AM (#4385410)
Here is the image I used for reference: http://store.storeimages.cdn-apple.com/6442/as-images.apple....
Re:Single Element MacBook Pro with CSS
on Wednesday August 15, 2012 @07:06AM (#4385392)
I simply eyeballed an image rather than working to scale. As it is just an experiment, I'm not too fussed by the incorrect dimensions.
Re:Single Element MacBook Pro with CSS
on Wednesday August 15, 2012 @07:04AM (#4385389)
The thing to keep in mind is that the use of pseudo-elements keeps the style separate from the content. In terms of practicality, there isn't much; I did this as an experiment in semantics and the latest CSS properties and techniques.
Re:Ask HN: Learning to switch off
on Sunday July 15, 2012 @09:27PM (#4248893)
For me, the best way to switch off, and the most rewarding, is to go cycling. Not only is it great for my health, but it is impossible to stay connected.
Re:Show HN: Easel, web design in the browser
on Thursday June 14, 2012 @09:24PM (#4114483)
On the other hand, a designer that has no knowledge of HTML or CSS can open doors that you may have never considered, even if it involves more work.
Re:The New Twitter Logo in CSS
on Thursday June 07, 2012 @05:41AM (#4078220)
I agree with you in the case of something original, but I'm not entirely sure how this qualifies?
Re:The New Twitter Logo in CSS
on Thursday June 07, 2012 @02:19AM (#4077839)
I was merely curious as to the thought process. Thanks for offering some insight.
Re:The New Twitter Logo in CSS
on Thursday June 07, 2012 @01:57AM (#4077791)
What would you then recommend when needing to support legacy browsers?