CSS - border-width: hairline; Is this achievable?

I'm looking for a border width that's thinner than border-width: thin;  How do I do it?

jdanaAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
DesignbyonyxConnect With a Mentor Commented:
Unfortunately a you can't get smaller than a single pixel.  A good technique to sort of imply a thinner line is to use a lighter color.  If you want a really thin black border, then use a 1px grey border.

border: 1px solid #999;
0
 
Eternal_StudentConnect With a Mentor Commented:
NO, thin is as small as it gets.
0
 
jdanaAuthor Commented:
Can I get away with fractional points or pixels?  (ex. 0.5px or 0.5pt?)
0
 
Gurvinder Pal SinghConnect With a Mentor Commented:
border-width:1px; is the smallest possible one
0
 
jdanaAuthor Commented:
Designbyonyx,

Great suggestion!  It now looks sharp.

Thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.