{Carrer web log}
Prototyping with Malo CSS Library
Monday, January 26, 2009 { 11 Comments }
Malo is ultra small css library for building web sites. It is meant to be structural base for small or medium web sites.Benefits:
- Ultra small (compressed is only 0,25 kb or 8 lines of CSS!)
- Personalized width of the page in (%, px, em)
- Super flexible
- Easy to use
Malo is build of simple CSS reset and the grid system. You can personalize everything else.
Malo works on the principle that every column can be divided into two, three, four and five parts. It also supports nested columns meaning divided columns can be divided again and again forming complex grid.
Practically if we have one column of 100%
100% = 50% + 50% /divided in two
100%=33,33% + 33,33% + 33,33% /divided in three
100% = 25% + 25% + 25% + 25% /divided in four
100% = 20% + 20% + 20% + 20% + 20% /divided in five
Or more complex:
100% = 50% + 50%(33,33% + 33,33% + 33,33% ) / second half is divided in three
Can you see the potential?
Lets Prototype!
We want site which has 955px width (we can use % or ems), centered layot and looks something like this:
Header
Navigation
2 – columns
4 - columns
3 -columns
Footer
First you should the naming system of Malo we have only .dp (div percent) and .clear class. Meaning dp20 is div 20%.
And that is it!
Some code
Ok we don’t have the main center container, so lets build it:
.main { margin:0 auto; width:955px; }
And the structure:
<div class="Main"></code>
<div class="dp100">Header</div>
<div class="clear"></div>
<div class="dp100">Navigation</div>
<div class="clear"></div>
<div class="dp50"> 1 Column</div>
<div class="dp50"> 2 Column</div>
<div class="clear"></div>
<div class="dp25"> 1 Column</div>
<div class="dp25"> 2 Column</div>
<div class="dp25"> 3 Column</div>
<div class="dp25"> 4 Column</div>
<div class="clear"></div>
<div class="dp33"> 1 Column</div>
<div class="dp33"> 2 Column</div>
<div class="dp33"> 3 Column</div>
<div class="clear"></div>
<div class="dp33"> Footer</div>
</div>
And the structure is ready!
We can add some text, pictures and navigation. In that case, we need some css:
We need to connect the main css library malo.css:
<link rel="stylesheet" href="css/malo.css" type="text/css" media="screen">
Then to add some extra css for navigation, images and border:
/* top border */ .dp100,.dp50,.dp33,.dp25{ border-top:1px solid #111;} p { padding:1em 0 1em 1em;color:#111;} p img { float: left; margin: 0.3em 0.5em 0.5em 0.5em; } p img.right { float: right; margin: 0.3em 0.5em 0.5em 0.5em; } blockquote { padding-left:1em; font-style:italic; } /* navigation */ #nav { margin: 0; padding: 0 0 0 10px; list-style-type: none; font-size:1.2em; font-weight:700; float: left; } #nav li { margin: 0; padding: 0; float: left; width: 70px; }
And the final result:
The Result
Malo is tested almost in every browser. In IE you have around minus 1px for only column. IE doesn’t handle percentage calculation very well without this fix there is a possibility that the grid won't work correctly.
You can download Malo at: http://code.google.com/p/malo/
Formy CSS Framework out of Beta
Thursday, January 15, 2009 { 8 Comments }
After long beta1 and beta2 test period Formy is in 0.8.
What is new?
I merged reset.css into form.css. I fixed some bugs in form.css and the code it reorganized giving you more space for personalization.
Now the form.css is made of reset, structure and color palette.
What is the idea behind Formy?
Formy is build to help you mange web forms in more natural way. No lists no tables just CSS and br for the structure of HTML .
What to expect from the new version?
More personalization(color palette)
Errors management
Examples and download at:http://code.google.com/p/formy-css-framework
2008 Summary Report
Thursday, January 01, 2009 { 2 Comments }
This was one creative year!Now my colleges cool me "Uomo Framework" or Framework Man. Probably because I build 4 CSS Frameworks at 2008 :)
I started with Hartija CSS Fraemwork for web printing.One client ask me to improve the printing layout for his site. I gathered all experience from the project I did some additional research of all best practises for usability, readability and web printing with CSS. And the result was Hartija universal CSS for web printing.
I always had hard times with web forms, rebuilding the same CSS code over and over. Why not this time build it once and use it in all web forms? Formy - CSS Framework for building web forms.
Than I couldn't stop here I needed new challenge. To build CSS Grid Framework who will resolve all the problems of the current CSS Frameworks( Blueprint, 960 and YUI).
The framework who will have minimum size, who will be fluid and em based (elastic).
And the result is Emastic giving optional main width, fluid columns, less then 4kb size, baseline typography, totally em based(elastic) structure, possibility of nested DIVs etc.
In the second and third version of Emastic in the plugins I added percent grid system and absolute grid system (based on absolute, relative positioning). Building one complete framework who will handle almost all CSS structural problems.
Then I stooped asking myself when you need so complex CSS Framework, probably if you building some newspaper site or site with very complex grid. But I presume you don't build newspaper site every day.
I took percentage-grid.css from Emastic I did some CSS refactoring and I build Malo super small and simple CSS Library(Framework).
One other PHP project completely deluded my expectations: MySql Lite Administrator, I worked very long and hard on this project but I didn't receive much PHP community love. Maybe there is already so much PHP code out there, but is always hard when your free project doesn't get much feedback.
Statistics:
Project Name: | Visits | Pageviews |
---|---|---|
Hartija - CSS Print Framework | 21,987 | 35,731 |
Formy - CSS Form Framework | 18,939 | 38,832 |
Emastic - CSS Grid Framework | 34,391 | 78,444 |
Malo - CSS Library | 17,195 | 35,731 |
MySql Lite Administrator | 2029 | 4051 |
Plans for 2009:
Emastic,Formy and Malo out of beta.
I'm working on some new CSS things :)
Also on one PHP Framework.
I have at least 2-3 new ideas every day and little free time :)
Thank you!
I wish you lot of love and understanding at 2009 !
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 <<<
- GPT-3 and CSS Frameworks
- Don’t use CSS Reset use CSS Set
- One Page 2020 Calendar Print Version
- 3 CLI tools based on Node.js
- Scribble Font for Prototyping & Wireframing
- ramd.js - Small JavaScript library for making TODO...
- Katana.scss - CSS Layout System made with Flexbox
- Flexy CSS Framework
- nanoJS - JavaScript for DOM manipulation
- SMART CSS GRID
§Archives <<<
- May 2006
- June 2006
- July 2006
- August 2006
- September 2006
- October 2006
- January 2007
- February 2007
- October 2007
- April 2008
- June 2008
- July 2008
- August 2008
- September 2008
- November 2008
- December 2008
- January 2009
- February 2009
- March 2009
- April 2009
- May 2009
- June 2009
- August 2009
- September 2009
- October 2009
- November 2009
- December 2009
- January 2010
- February 2010
- March 2010
- April 2010
- May 2010
- June 2010
- July 2010
- August 2010
- September 2010
- October 2010
- November 2010
- December 2010
- January 2011
- February 2011
- March 2011
- April 2011
- May 2011
- June 2011
- July 2011
- August 2011
- September 2011
- October 2011
- November 2011
- December 2011
- January 2012
- February 2012
- March 2012
- April 2012
- June 2012
- August 2012
- November 2012
- January 2013
- March 2013
- June 2013
- October 2013
- November 2013
- March 2014
- September 2014
- October 2014
- November 2015
- March 2018
- May 2018
- June 2018
- July 2018
- October 2018
- January 2019
- January 2020
- June 2020
- April 2021
Other Profiles <<<
Content is licensed under a Creative Commons Public Domain License