Grow your CSS skills. Land your dream job.

how to compress external css file

  • # February 13, 2013 at 4:18 am

    How to compress css file. My css file size is half mb and i want compress the css file..

    # February 13, 2013 at 4:23 am

    You can use YUI compressor, it does the job very well.

    If I may though, if your file is about 500Ko, you clearly did something wrong in your CSS. Compressing it will save a little but won’t do magic.

    # February 13, 2013 at 5:06 am

    HugoGiraudel

    Thnax Man

    How to make a common css for different tag button and input..

    # February 13, 2013 at 5:08 am

    >How to make a common css for different tag button and input..

    Can you explain what you mean?

    Do you mean you want two kinds of button?

    # February 13, 2013 at 5:21 am

    I believe he wants to make some kind of a set of buttons, which are different by their color, their size or something.

    .btn {
    /* Common stuff here */
    }

    .btn-small {
    /* Specific stuff here */
    }

    My button

    # February 13, 2013 at 5:35 am

    HugoGiraudel thanks man

    # February 13, 2013 at 5:36 am

    Waw, I’m on fire this morning.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".