{Carrer web log} ←
1 Line CSS Framework
Monday, March 12, 2018 { 0 Comments }
I originally made the 1 line CSS framework in 2009. The point was and still is, you can make CSS grid layout only with one line of code. I made this project for fun but also to prove a point that you don’t always big complex CSS layout system.The trick of this project is that every column can be divided in two. So with this trick we can make 2,4,8,16 column system.
Here is the “magic” code:
.dp50 {width:50%; float:left}
Just one CSS class, that is doing all the work. You can also make it responsive but it will no longer be one line system.
Like I said before this project was made for fun and I don’t recommend it for production. Mainly because of unnecessary div nesting.
Here are some demos:
Demo1
Demo2
Demo3
You can download the demos on GitHub or here.
0 Responses to “1 Line CSS Framework”
<< Home
About Me <<<
Name: Vladimir Carrer
vladocar [at] gmail.com
Location: Verona, Italy
I'm a web designer, developer, teacher, speaker, generally web addicted ...
My projects <<<
- AI Prompt Directory
- Hand Drawn Icons
- Font Design Inspiration
- Font Pairings
- Free SVG Cut File
- Upcoming NFT projects
- Discord Tutorials
- Free Sublimation Designs
- Tech Feed
- MySQL Lite Administrator
- Quark Mini PHP CMS
- Formy - CSS Form Framework
- Emastic - CSS Framework
- Malo - CSS Library
- The Golden Grid
- 1 line CSS Grid Framework
- Two Lines CSS Framework
- Child Selector System - CSS Framework
- Better Web Readability Project
- Azbuka - CSS Typographical Base Rendering Library
- ClipR - bookmarklet for better reading
- CSS3 Action Framework
- CSS Mini Reset
- HTML5 Mini Template
- CSS Mobile Reset
- picoCSS - JavaScript Framework
- HTML Lorem Ipsum Crash Test
- Object Auto Documentation - JavaScript
- o - JS Library for Object Manipulation
- Foxy - CSS Framework
- Tumblr Free Theme - Better Readability Project
- Box - CSS Framework
- SMART CSS GRID
- nanoJS - Minimal JS DOM Library
- Flexy CSS Framework
- Katana is CSS Layout System made with Flexbox
- Micro CSS Reset
- 60 Grid System
- Simple CSS Button
- ramd.js JavaScript library for making web applications.
- Minimal Notes web app build with Vue.js
- Scribble Font for Prototyping & Wireframing
- Flex One - 1 CSS Class System
- Floaty - CSS Float Based Layout System
- Infinity CSS Grid
- CLI Convert websites into readable PDFs
- keywords-extract - CLI tool, extract keywords from any web page.
- screenshoteer - Make website screenshots and mobile emulations from the command line.
- Basic.css - Classless CSS Starter File
§§Previous Posts <<<
- Hand Drawn Icons V.2
- Illustrator Wireframing Kit
- Hartija - CSS Print Framework (Update)
- Photoshop Wireframing Kit - Update
- Modern Logo Mock-ups
- In the search of ideal line-height
- Demystification of the iOS7 Icon Grid Design
- Hand Drawn Icons 1.2 Update
- Clear Flash Ads with one line of jQuery
- Writability - Write in your browser
Other Profiles <<<
Content is licensed under a Creative Commons Public Domain License