Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Minifying CSS

Featured Replies

Ok, so something that I should have been doing a long time ago (my bad!).

 

What is the easiest way to do this?

 

My current CSS is something like this and gets pulled in from a main cssloader.css file;

/* Core */
@import url('../css/style.css');
/* Site Wide */
@import url('../css/navigation.css');
/* Modules */
@import url('../css/modules/search.css');
/* Pages */
@import url('../css/pages/portfolio.css');

 

Now the above is fine for production and testing, but I really should be minifying this for the final live site, shouldn't I?

 

The majority (99%) of my sites now utilise wordpress but I am reluctant to use a plugin if I can find a more automated, and plugin-free, way of doing this when the site is uploaded. If that is at all possible?

 

I have looked at minify and yui compressor but neither seem automated, and both seem to require some form of 'manual' setup for every site. Something I am trying to avoid (not lazy, just looking at cutting out the repetitive development I seem to be doing!).

This is. It's nice to go plugin-free for some things, but sometimes it's not worth the hassle. If someone else has written something that works and they're prepared to support and update it, so much the better.

Edited by Renaissance-Design

  • Author

This is. It's nice to go plugin-free for some things, but sometimes it's not worth the hassle. If someone else has written something that works and they're prepared to support and update it, so much the better.

Ta, I'll check it out :)

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.