Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
xerc
/
minify
Public
forked from
matthiasmullie/minify
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
minify
src
CSS.php
on
patch-1
User selector
All users
All time
Commit history
Commits on Nov 27, 2021
[CLEANUP] ColorFunctions
xerc
committed
8105967
View commit details
Copy full SHA for 8105967
View code at this point
Browse repository at this point
Commits on Sep 3, 2021
[OPTIMIZE] shortenRGBColors
xerc
committed
609eb3c
View commit details
Copy full SHA for 609eb3c
View code at this point
Browse repository at this point
[FEATURE] shortenRGBColors
xerc
committed
cabd220
View commit details
Copy full SHA for cabd220
View code at this point
Browse repository at this point
[OPTIMIZE] shortenColors; RegEx
xerc
committed
24b6ce7
View commit details
Copy full SHA for 24b6ce7
View code at this point
Browse repository at this point
[OPTIMIZE] `shortenColors`
xerc
committed
7086ae8
View commit details
Copy full SHA for 7086ae8
View code at this point
Browse repository at this point
Commits on Jul 20, 2021
Add apng, avif, webp, and woff2 mime types
summercms
authored and
matthiasmullie
committed
0cf6c08
View commit details
Copy full SHA for 0cf6c08
View code at this point
Browse repository at this point
Commits on Jan 6, 2021
Make sure math methods extraction checks for word boundaries
Show description for b88dcc6
matthiasmullie
committed
b88dcc6
View commit details
Copy full SHA for b88dcc6
View code at this point
Browse repository at this point
Commits on Dec 27, 2020
reverse arguments for implode() call i extractMath()
Show description for 3b09a2e
stklcode
authored and
matthiasmullie
committed
3b09a2e
View commit details
Copy full SHA for 3b09a2e
View code at this point
Browse repository at this point
Commits on Dec 23, 2020
More robust calc() detection
Show description for 022cd72
matthiasmullie
committed
022cd72
View commit details
Copy full SHA for 022cd72
View code at this point
Browse repository at this point
Commits on Dec 21, 2020
Fix unsafe use of new static
Show description for 21678a3
matthiasmullie
committed
21678a3
View commit details
Copy full SHA for 21678a3
View code at this point
Browse repository at this point
Preserve custom properties
Show description for 26da9bb
matthiasmullie
committed
26da9bb
View commit details
Copy full SHA for 26da9bb
View code at this point
Browse repository at this point
Also preserve math whitespace in clamp, min, max
Show description for 8931f76
matthiasmullie
committed
8931f76
View commit details
Copy full SHA for 8931f76
View code at this point
Browse repository at this point
Commits on Jan 21, 2020
Fix #301 calc() not followed by end of line or semicolon not correctly matched
simondud
authored and
matthiasmullie
committed
9ba1b45
View commit details
Copy full SHA for 9ba1b45
View code at this point
Browse repository at this point
add multiline flag to extractCalcs pattern
remyperona
authored and
matthiasmullie
committed
a5cf827
View commit details
Copy full SHA for a5cf827
View code at this point
Browse repository at this point
Commits on Dec 19, 2019
Implode swap parameter order for PHP-7.4 support.
Wim Wisselink
authored and
matthiasmullie
committed
47a5371
View commit details
Copy full SHA for 47a5371
View code at this point
Browse repository at this point
Commits on Nov 26, 2018
Preserve important comments exactly as they are
matthiasmullie
committed
2d13b7b
View commit details
Copy full SHA for 2d13b7b
View code at this point
Browse repository at this point
Shorten alpha channel
matthiasmullie
committed
ea20ad3
View commit details
Copy full SHA for ea20ad3
View code at this point
Browse repository at this point
Remove whitespace around + and &
Show description for 75bb291
matthiasmullie
committed
75bb291
View commit details
Copy full SHA for 75bb291
View code at this point
Browse repository at this point
move color replace to a shortenColorCodesToHex() function
rozinko
authored and
matthiasmullie
committed
d3d1345
View commit details
Copy full SHA for d3d1345
View code at this point
Browse repository at this point
add replace 'white' and 'black' to '#fff' and '#000'
rozinko
authored and
matthiasmullie
committed
1c6a499
View commit details
Copy full SHA for 1c6a499
View code at this point
Browse repository at this point
Commits on Aug 24, 2018
preserve important comments
Puskás Zsolt
committed
ca7d428
View commit details
Copy full SHA for ca7d428
View code at this point
Browse repository at this point
Commits on May 4, 2018
Pass settings to (recursively) referenced files
k3min
authored and
matthiasmullie
committed
6d922d0
View commit details
Copy full SHA for 6d922d0
View code at this point
Browse repository at this point
Commits on Apr 4, 2018
Don't leave behind trailing semicolons when moving imports to top
Show description for 81d3a80
matthiasmullie
committed
81d3a80
View commit details
Copy full SHA for 81d3a80
View code at this point
Browse repository at this point
Commits on Feb 2, 2018
Don't go fixing invalid flex attributes
Show description for adfa7eb
matthiasmullie
committed
adfa7eb
View commit details
Copy full SHA for adfa7eb
View code at this point
Browse repository at this point
Commits on Nov 24, 2017
Leave calc expressions alone when stripping units off of 0
Show description for 86e4a4e
matthiasmullie
committed
86e4a4e
View commit details
Copy full SHA for 86e4a4e
View code at this point
Browse repository at this point
Commits on Nov 18, 2017
Remove pointless var
matthiasmullie
committed
82970e6
View commit details
Copy full SHA for 82970e6
View code at this point
Browse repository at this point
Commits on Nov 17, 2017
Improve detection of @imports to move to top
Show description for 16563a8
matthiasmullie
committed
16563a8
View commit details
Copy full SHA for 16563a8
View code at this point
Browse repository at this point
Properly strip consecutive empty CSS blocks
Show description for a995630
matthiasmullie
committed
a995630
View commit details
Copy full SHA for a995630
View code at this point
Browse repository at this point
Commits on Oct 17, 2017
fixing invalid [optional] text
gkrafsig
authored and
matthiasmullie
committed
7106660
View commit details
Copy full SHA for 7106660
View code at this point
Browse repository at this point
Fixing phpdocumentor errors
gkrafsig
authored and
matthiasmullie
committed
7f79958
View commit details
Copy full SHA for 7f79958
View code at this point
Browse repository at this point
Commits on Sep 11, 2017
Quote url() uri's with quotes in them
Show description for 69f3d7b
matthiasmullie
committed
69f3d7b
View commit details
Copy full SHA for 69f3d7b
View code at this point
Browse repository at this point
Commits on Sep 7, 2017
Be stricter when removing whitespace around + & - in selectors
Show description for 0c62644
matthiasmullie
committed
0c62644
View commit details
Copy full SHA for 0c62644
View code at this point
Browse repository at this point
Commits on Jul 6, 2017
Fix docs
matthiasmullie
committed
0bb72d8
View commit details
Copy full SHA for 0bb72d8
View code at this point
Browse repository at this point
Commits on Mar 14, 2017
Remove test var
matthiasmullie
committed
d94a222
View commit details
Copy full SHA for d94a222
View code at this point
Browse repository at this point
Don't allow whitespace in unquoted url()
Show description for 41dc782
matthiasmullie
committed
41dc782
View commit details
Copy full SHA for 41dc782
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.