Archives for April 2011

You are currently browsing 3 articles posted April 2011.

  • SASS is Brilliant

    Published Monday 18th of April 2011

    I've used my own CSS constants parser for a few years now and I can't imagine writing CSS without it nowadays.

    I wrote the parser years ago when I had more time for my own projects and since then I've come up with loads of things I've been wanting to add to it.

    Quite recently TB recommended SASS to me in the comments to my CSS Wish List article and for a recent project I gave it a go.

    SASS has got everything on my todo-list for my own parser + loads more. Its @mixins are almost identical to my own take on constants but SASS' @mixins has support for many things I have yet to add to my own parser.

    SASS also comes with variables and a bunch of super handy color functions.

    It doesn't merge every file in the CSS-dir like mine, but instead loops through @import directives and pulls all the code in to the same file.

    I'm going to convert all my handy CSS constants to SASS @mixins shortly and I've also looked into Compass' collection of @mixins based on popular CSS frameworks.

    Writing CSS without @mixins (or similar) is not an option for me anymore and with all the other handy functionality SASS comes with it's an obvious choice for me.

    Thus I will be deprecating my own parser and start using SASS exclusively from now on. It's an added bonus that other smart people are constantly improving it as well.

    Now if I could only find a substitute for aFramework... :)

    Join 2 others and post a comment

  • Vendor Prefixes are Getting Ridiculous

    Published Friday 15th of April 2011

    $chat-user-box {
        
    background-color#e9f2f8;
        
    background-image: -moz-linear-gradient(top#e9f2f8, #dae9f4); /* FF3.6 */
        
    background-image: -ms-linear-gradient(top#e9f2f8, #dae9f4); /* IE10 */
        
    background-image: -o-linear-gradient(top#e9f2f8, #dae9f4); /* Opera 11.10+ */
        
    background-image: -webkit-gradient(linearleft topleft bottomfrom(#e9f2f8), to(#dae9f4)); /* Saf4+, Chrome */
        
    background-image: -webkit-linear-gradient(top#e9f2f8, #dae9f4); /* Chrome 10+, Saf5.1+ */
        
    background-imagelinear-gradient(top#e9f2f8, #dae9f4);
        
    filterprogid:DXImageTransform.Microsoft.gradient(startColorStr='#e9f2f8'EndColorStr='#dae9f4'); /* IE6–IE9 */

        
    -moz-background-clippadding;
        -
    webkit-background-clippadding-box;
        -
    o-background-clippadding-box;
        -
    ms-background-clippadding-box;
        
    background-clippadding-box;

        
    positionrelative;

        
    margin0 0 4px;
        
    padding5px 5px 5px 45px;

        
    border1px solid #a3b5d9;
        
    -moz-border-radius-topright5px;
        -
    moz-border-radius-bottomright5px;
        -
    webkit-border-top-right-radius5px;
        -
    webkit-border-bottom-right-radius5px;
        -
    o-border-top-right-radius5px;
        -
    o-border-bottom-right-radius5px;
        -
    ms-border-top-right-radius5px;
        -
    ms-border-bottom-right-radius5px;
        
    border-top-right-radius5px;
        
    border-bottom-right-radius5px;
    }

    FFS

    Join 1 others and post a comment

  • Chopin, Nocturne, opus 27 #2

    Published Saturday 9th of April 2011

    Awesome. Awesome to the max.

    And LOL

    Be the first to post a comment

Random jQuery Plug-ins

  • Colour Picker

    Use this plug-in on a normal <select>-element filled with colours to turn it in to a colour-picker widget that allows users to view all the colours in...

    Details

  • Ajax Loader

    Use this plug-in when you want to inform your visitors that a certain part of your page is currently loading. The plug-in adds a faded 'loading-div' o...

    Details

  • Live Search

    Use this plug-in to turn a normal form-input in to a live ajax search widget. The plug-in displays any HTML you like in the results and the search-res...

    Details

More Plug-ins

Recent Comments

Powered by Disqus
Page cached. Loaded in: 0.0194 second(s).
Last DB change: 2012-04-02 11:06:05
Last file change: 2012-04-25 20:30:39
Cache created: 2012-05-18 01:46:43