Skip to content

philipwalton/responsive-components

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Responsive Components

A working implementation of the strategy outlined in the article Responsive Components: a Solution to the Container Queries Problem

View Site

Viewing the Site Locally

The Responsive Components site can be built with Node.js. If you have Node.js installed on your system, you can run the following commands to build and serve a local version.

# Clone the git repository and cd into the cloned directory.
git clone https://github.com/philipwalton/responsive-components.git
cd responsive-components

# Install the dependencies
npm install

# Build and serve the site at http:https://localhost:8080
npm start

This starts up a local server on port 8080. To view the site in your browser, navigate to http:https://localhost:8080.

In addition to building the site and serving it locally, this will also listen for any changes and rebuild the site as needed. This allows you to play around with the code, refresh the browser, and see your changes instantly.

About

A modern approach to styling elements based on the size of their container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published