Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS how to compress external css file

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #42694
    sumitweb
    Participant

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

    #124365
    Kitty Giraudel
    Participant

    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.

    #124377
    sumitweb
    Participant

    HugoGiraudel

    Thnax Man

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

    #124378
    Paulie_D
    Member

    >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?

    #124379
    Kitty Giraudel
    Participant

    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

    #124381
    sumitweb
    Participant

    HugoGiraudel thanks man

    #124382
    Kitty Giraudel
    Participant

    Waw, I’m on fire this morning.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘CSS’ is closed to new topics and replies.