{"id":93,"date":"2018-01-02T07:28:17","date_gmt":"2018-01-02T07:28:17","guid":{"rendered":"https:\/\/www.orcapia.com\/wp\/?page_id=93"},"modified":"2018-01-02T12:22:19","modified_gmt":"2018-01-02T12:22:19","slug":"minifycss","status":"publish","type":"page","link":"https:\/\/www.orcapia.com\/shortcode\/minifycss\/","title":{"rendered":"drx_minifycss (shortcode)"},"content":{"rendered":"

Minify CSS shortcode<\/h1>\n

WordPress shortcode for minifying (inline) CSS (Cascading Style Sheets).<\/p>\n

Attributes<\/h2>\n

none<\/p>\n

Example<\/h2>\n

Code<\/h3><style>[drx_minifycss]
\nh1.foobar {
\n\tdisplay: inline !important;
\n\tborder: none !important;
\n\tbox-shadow: none !important;
\n\theight: 1em !important;
\n\twidth: 1em !important;
\n\tmargin: 0 .07em !important;
\n\tvertical-align: -0.1em !important;
\n\tbackground: none !important;
\n\tpadding: 0 !important;
\n\tcolor: #00f;
\n}[\/drx_minifycss]<\/style>
\n<h1 class="foobar">Foo Bar<\/h1><\/code>

Source Output<\/h3>
<style>h1.foobar{display:inline!important;border:0!important;box-shadow:none!important;height:1em!important;width:1em!important;margin:0 .07em!important;vertical-align:-.1em!important;background:none!important;padding:0!important;color:#00f}<\/style>\n<h1 class="foobar">Foo Bar<\/h1><\/pre>

Display Output<\/h3>