October 2016
Beginner to intermediate
709 pages
16h 52m
English
There are several use cases for having a responsive button font size. A good example of a use case is for mobile versions of your site. When a regular button is viewed on your iPhone, it is tiny and difficult to press. The last thing we want to do is to create a bad experience for mobile device users through our negligence of mobile devices.
The goal of this recipe is to use the new font measure of REM to make a responsive button font size that will grow larger when viewed on your mobile device.
REM is a new unit introduced in CSS3, it stands for Root EM, or relative to the root font size. This is different from EM, which was relative to the parent. One way to use it is to set the size of certain ...
Read now
Unlock full access