Skip to content
/ s4 Public

The lightweight HTML, CSS and JavaScript framework for developing responsive and truly adaptive web based projects.

License

Notifications You must be signed in to change notification settings

s4-design/s4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 

Repository files navigation

S4 logo

S4

The customizable responsive and truly adaptive framework that provides absolute precision in user interface development. The lightweight of S4 makes it desirable in high-load systems.


Table of contents


Quick start

  1. Download the current release

    v0.0.0

    s4/
    ├── css/
    │   ├── desktop/
    │   │   ├── landscape.css
    │   │   ├── portrait.css
    │   │   └── themes.css
    │   ├── mobile/
    │   │   ├── landscape.css
    │   │   ├── portrait.css
    │   │   └── themes.css
    │   └── tablet/
    │   │   ├── landscape.css
    │   │   ├── portrait.css
    │   │   └── themes.css
    │   └── elements.css
    └── js/
        ├── current-device.min.js
        └── s4.min.js
    
  2. Include CSS and JavaScript

    Embed the <script> tag in the <head>, and add attribute [onload] for start JavaScript bundle in the <body>. Add the [theme] attribute in the <html> for CSS.

    ...
    <html theme="light">
        <head>
            ...
            <script src="s4/js/s4.min.js"></script>
        </head>
        <body onload="S4()">
            ...
        </body>
    </html>
    

Developers

Arthur Selimov


Designers

Arthur Selimov


Thanks

Thanks to Matthew Hudson for providing current-device tool that allows the S4 to be an absolutely responsive framework.

About

The lightweight HTML, CSS and JavaScript framework for developing responsive and truly adaptive web based projects.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published