2

I am trying to figure out how the Google search box adjusts the Arial font to look the way it does. What I mean by that is, when I try to use Arial on my site at the same font size it seems much thicker then in Google's search box. As far as I can tell there is no way to adjust the font-weight of Arial on Windows. So I was wondering how they get arial to display so thin.

I would like to do this via CSS if possible but other means are ok as well.

5
  • Is that what you are using? font-family: Arial, sans-serif; font-size: 13px; Commented Mar 20, 2014 at 17:38
  • Is jsfiddle.net/JSLU8 what you are looking for? Commented Mar 20, 2014 at 17:39
  • have you tried opensans? google.com/fonts/specimen/Open+Sans Commented Mar 20, 2014 at 17:44
  • You should be able to (on Chrome) use the developer tools to inspect and see exactly what CSS properties Google has set on their search box. Commented Mar 20, 2014 at 17:45
  • @Gab you got it thanks for the info. If you'd like to answer the question i'll be happy to accept it. And thanks every one else for the help. Commented Mar 20, 2014 at 17:48

1 Answer 1

2

Is this what you are looking for?

.google-searchbox-arial{
    font-family: arial, sans-serif;
    font-kerning: auto;
    font-size: 17px;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    color: #222;
}
Sign up to request clarification or add additional context in comments.

1 Comment

Also Google uses color: #222;. So it look "thinner"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.