Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS jQuery Basics (2014) Creating a Mobile Drop Down Menu Perfect

Appropriate Height of select - changing with font size

I find that in comparison with the wider resolution version with the big "buttons" at the top, the select is too small and requires more precision - like when using a phone I figure it would be more of a nuisance to select what you want.

In the stylesheet, I increased the font size for the select element to 125% (subject to revision), do you guys agree that increasing the size is pretty reasonable? Or would you leave it the same size as in the video?

select {
    width: 94%;
    margin: 11px  0 11px 2%;
    float: left;
    font-size: 125%;  (font-size was was not included in the project)
}

1 Answer

Sean T. Unwin
Sean T. Unwin
28,690 Points

Absolutely. These are the kinds of questions web designers and front-enders should be considering as they relate to UI (user interface) and UX (user experience) as well as cross-device usage.

In addition to adjusting the font-size, another consideration may be to include some padding for a little cushion as well.