An event-based CSS element dimension query library with valid CSS selector syntax to change styles and allow responsive images based on element's dimensions and not window's viewport. Download the zip file using the buttons on the right side and include both files at the head section of your page. ElementQueries start automatically to listen to window.load event and parses all available css files to attach the ResizeSensor and start the magic. No interval/timeout detection like in most resize sensor out there. It's truly event-based. Automatically discovers new DOM elements. No need to call javascript manually. All CSS selectors available. It uses the normal attribute selector. Min-width, min-height, max-width and max-height supported. It works for all layout modifications, HTML (innerHTML etc), inline styles, DOM mutation, CSS3 transitions, fluid layout changes (parent changes too), pseudo classes (:hover etc), window resizes, etc.

Features

  • No CSS modifications
  • Valid CSS Syntax
  • High-speed
  • All CSS selectors available
  • It uses the normal attribute selector
  • Support for Chrome, Firefox, Safari and Internet Explorer (10 and up)

Project Samples

Project Activity

See All Activity >

Categories

System

License

MIT License

Follow CSS Element Queries

CSS Element Queries 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 CSS Element Queries!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript System Software

Registered

2022-01-11