Better HN
topnewbestaskshowjobs
Log inSign up

joshnh

31 karma · joined Feb 8, 2012 (14y ago) · 37 submissions

Submissions

1.

What’s Needed in the Head of a HTML Document?(joshnh.com ↗)

2 points · by joshnh · 10y ago · discuss

2.

Apple TV Aerial Views Screen Saver for OS X(github.com ↗)

1 points · by joshnh · 11y ago · discuss

comment 13y ago · link · parent

What browser/OS? I can't replicate the issue you seem to be having.

comment 13y ago · link · parent

I plan on having an option to output rem with px fallback code.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

Good call, I've fixed that.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

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...

comment 13y ago · link · parent

Am I the only one that simply imports hi-res photos into Instagram then?

comment 14y ago · link · parent

The page shift can be fixed by using:

html { overflow-y: scroll; }

13.

Pr.ofile.me - Digital, mobile business cards(github.com ↗)

1 points · by joshnh · 14y ago · discuss

14.

Recreating a Classic Piece of the Web with CSS(github.com ↗)

2 points · by joshnh · 14y ago · discuss

15.

CSS-Tricks has been redesigned(css-tricks.com ↗)

3 points · by joshnh · 14y ago · discuss

comment 14y ago · link · parent

Would you mind sharing some more information on these 'elegant solutions'? I'm yet to experience them.

17.

Increasing the Clickable Area of Inline Links(joshnh.com ↗)

3 points · by joshnh · 14y ago · 4 comments

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

Spot on. I clearly state in the description field that it is only an experiment.

comment 14y ago · link · parent

I am; Melbourne based. Thanks!

21.

CSS Transforms and Z-Index leads to some unexpected behaviour(daneden.me ↗)

1 points · by joshnh · 14y ago · discuss

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

Here is the image I used for reference: http://store.storeimages.cdn-apple.com/6442/as-images.apple....

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

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.

comment 14y ago · link · parent

I agree with you in the case of something original, but I'm not entirely sure how this qualifies?

comment 14y ago · link · parent

I was merely curious as to the thought process. Thanks for offering some insight.
12