[theme-reviewers] Minified CSS

Rahul Bansal rahul.bansal at rtcamp.com
Fri Feb 18 13:18:33 UTC 2011


Syahir,

There are many plugins which minifies & combines JS/CSS on the fly.
So you can leave this task to them I guess.

--
Rahul Bansal | Founder & CEO | rtCamp Solutions Pvt. Ltd.
Skype: rahul286 | Twitter: @rahul286 | Web: http://rtcamp.com/



On Fri, Feb 18, 2011 at 6:38 PM, Syahir Hakim <khairulsyahir at gmail.com>wrote:

> Hi everyone,
>
> Recently I just edited my theme's CSS to conform to the CSS Coding Standard
> as outlined here: http://codex.wordpress.org/CSS_Coding_Standards
> (I know that it's still a draft, but the CSS coding standard outlined is
> good to follow nonetheless).
>
> However, the problem is that the standard, while can be immensely helpful
> to the theme's users and other developers, also introduces a lot of code
> bloating (think of all those extra spaces and tabs and newlines). So I was
> wondering if we can include two copies of theme's CSS: one which is not used
> by the theme, but human-readable, and another that's minified and is
> actually used by the theme. The human-readable one can probably be renamed
> to style.full.css for example, while the minified version takes on the
> standard naming convention for WordPress themes' CSS files.
>
> Thoughts?
>
> --
> Regards,
> Syahir Hakim
>
> Contact:
> http://www.khairul-syahir.com
> +6014 753 1883
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20110218/841d2a03/attachment.htm>


More information about the theme-reviewers mailing list