A Complete Media Query Framework for CSS | screen.css

Screen CSS is a complete media query framework for CSS, to apply certain properties to a specific screen. The screen.css library provides a set of media query helpers to display, hide, colonize, position, and resize items based on screen size.

media query css, media query css for all devices, css media queries min and max, scss media query mixin, media query not working, bootstrap media queries

Note: The size of each media query is `50px, 100px, 150px, 200px, 250px…….2500px`.

How to make use of it:

1. To get began, include the screen.css stylesheet on the web page.

// All-in-one
<link rel="stylesheet" href="dist/screen.css" />

// Or...

<link rel="stylesheet" href="dist/screen-max-align.css" />
<link rel="stylesheet" href="dist/screen-min-align.css" />

<link rel="stylesheet" href="dist/screen-max-color.css" />
<link rel="stylesheet" href="dist/screen-min-color.css" />

<link rel="stylesheet" href="dist/screen-max-font-size.css" />
<link rel="stylesheet" href="dist/screen-min-font-size.css" />

<link rel="stylesheet" href="dist/screen-max-height-width.css" />
<link rel="stylesheet" href="dist/screen-min-height-width.css" />

<link rel="stylesheet" href="dist/screen-max-show-hide.css" />
<link rel="stylesheet" href="dist/screen-min-show-hide.css" />

2. Alignment content. The breakpoint might be 50, 100, 150, 200, or 250, …

<p class="text-align-left-min750">Resize The Window To See The Magic</p>

3. Set textual content & background colors. The breakpoint might be 50, 100, 150, 200, or 250, …

<p class="fcolor-red-min750">Resize The Window To See The Magic</p>

4. Adjust the font size. The breakpoint might be 50, 100, 150, 200, or 250, …

<p class="fsize-40-min750">Resize The Window To See The Magic</p>

5. Set the height/width of a block component. The breakpoint might be 50, 100, 150, 200, or 250, …

<div class="height-400-min750">Resize The Window To See The Magic</div>

6. Show/conceal your content. The breakpoint might be 50, 100, 150, 200, or 250, …

<p class="hide-min750">Resize The Window To See The Magic</p>

Classes for hiding & Show

hide-{type}{width}hide-max600hide specific content
show-{type}{width}show-min600show specific content

Classes for Color

fcolor-{color}fcolor-red-max400Color the font
bcolor-{color}bcolor-red-max400Color on Background

Classes for Size

All size will denote as pixel (px) only. font max size is 854px. height-width max size is 1193px.

fsize-{size}fsize-20-max700Resize font
height-{size}height-400-min400Resize Height of elements
weight-{size}width-300-max400Resize Width of elements

CSS Media Query Helpers, screen.css Plugin/Github, sass media query syntax, media query css for all devices with example

See Demo And Download

Official Website(rohit-chouhan): Click Here

This superior jQuery/javascript plugin is developed by rohit-chouhan. For extra Advanced usage, please go to the official website.

Related Posts


Responsive Image Gallery Lightbox jQuery Plugin | VenoBox

VenoBox is a responsive jQuery modal window plugin suitable for images, embedded content, iFrames, Google Maps, Vimeo, and YouTube videos. The big difference compared to many other…


[Animation] Bootstrap Multi-Level Responsive Dropdown Menu

Bootstrap-based multi-level dropdown navigation menu with cool animations. The dropdown on Hover is a jQuery plugin used to create Bootstrap multi-level scroll-triggered dropdown menus with CSS3 animations…


Google Translate Dropdown Customize With Country Flag | GT API

Flag google translates jQuery text that takes advantage of the Google Cloud Translation API to translate web content between languages by selecting a country from the dropdown…


HTML 5 File Input Optimized for Bootstrap 4.x./3.x with File Preview | Bootstrap Fileinput

bootstrap-fileinput is an improved HTML 5 file input  Bootstrap 5.x, 4.x and 3.x with file preview for different files, provides multiple selections, resumable section uploads, and more….


CSS Layout Components Horizontal/Vertical Stack | HStack and VStack

HStack and VStack in CSS – CSS layout components that (basically) stack anything horizontally and vertically. A pure CSS library that makes it easy to stack elements…


How to Add Floating Whatsapp Chat Button In HTML | venom-button

Venom Button is a very simple plugin for the jQuery floating WhatsApp button. Adds a floating button to your site that calls WhatsApp Click to Chat API. It will automatically start the WhatsApp…

Leave a Reply

Your email address will not be published. Required fields are marked *