RFS is a unit resizing engine which was initially developed to resize font sizes (hence its abbreviation for Responsive Font Sizes). Nowadays RFS is capable of rescaling basically every value for any CSS property with units, like margin, padding, border radius or even box-shadow. The mechanism automatically calculates the appropriate values based on the dimensions of the browser viewport. It's available in one of your favorite preprocessors or postprocessor, Sass, Less, Stylus or PostCSS. The source files can also be downloaded manually and used in a project. This method is not recommended because you lose the ability to easily and quickly manage and update RFS as a dependency. RFS works out of the box without any configuration tweaks. Enabling the two dimensional media queries will determine the value based on the smallest side of the screen with vmin. This prevents values from changing if the device toggles between portrait and landscape mode.

Features

  • No need to rescale paddings or margins anymore
  • Text won't be chopped off in smaller viewports when RFS is applied to font sizes
  • RFS will prevent the font size from rescaling too small, so readability can be assured
  • The font sizes of all text elements will always remain in relation with each other
  • RFS can be installed using a package manager
  • The source files can also be downloaded manually

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow RFS

RFS Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of RFS!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Software Development Software

Registered

2022-06-20