Adapt.js (Adaptive CSS)

Adapt.js serves CSS based on screen width.

It is a lightweight JavaScript file that determines which CSS file to load before the browser renders a page. If the browser tilts or resizes, Adapt.js simply checks its width, and serves only the CSS that is needed, when it is needed. .

Cost / License

  • Free
  • Open Source

Platforms

  • Mac
  • Windows
  • Linux
  • Online
  • BSD
  • JavaScript
-
No reviews
1like
0comments
0news articles

Features

Suggest and vote on features
No features, maybe you want to suggest one?

Adapt.js (Adaptive CSS) News & Activities

Highlights All activities

Recent activities

No activities found.

Adapt.js (Adaptive CSS) information

  • Developed by

    Unknown
  • Licensing

    Open Source and Free product.
  • Alternatives

    1 alternatives listed
  • Supported Languages

    • English

AlternativeTo Category

Development

Popular alternatives

View all
Adapt.js (Adaptive CSS) was added to AlternativeTo by Graziella on and this page was last updated . Adapt.js (Adaptive CSS) is sometimes referred to as Adapt.js, Adaptive CSS
No comments or reviews, maybe you want to be first?
Post comment/review

What is Adapt.js (Adaptive CSS)?

Adapt.js serves CSS based on screen width.

It is a lightweight JavaScript file that determines which CSS file to load before the browser renders a page. If the browser tilts or resizes, Adapt.js simply checks its width, and serves only the CSS that is needed, when it is needed.

A potential drawback of Adapt.js is the possibility of a brief flash of unstyled content as a new stylesheet is being fetched (think of it as “Ajax” for CSS). I have done my best to mitigate this by keeping CSS files small (3 KB). It is worth noting this is a proposed, not prescribed, approach to a problem with multiple solutions.