Search
 
SCRIPT & CODE EXAMPLE
 

CSS

regex remove css comment

/*.+?*/
use the above expression to remove /* CSS comments */

<!--(.*?)-->
use the above expression to remove <!-- HTML comment -->

((?:/*(?:[^*]|(?:*+[^*/]))**+/)|(?://.*))
this one is a general expression to remove also //JS comment + /* CSS comment */
Comment

PREVIOUS NEXT
Code Example
Css :: overflow x not hidden 
Css :: css white-space 
Css :: outline radius css 
Css :: best box shadow 
Css :: li not first child 
Css :: canvas disable antialiasing 
Css :: border width css 
Css :: word break css 
Css :: image on top of image css 
Css :: center an image 
Css :: center block div 
Css :: how to move text down css 
Css :: zoom level in css 
Css :: text-shadow css 
Css :: css set font family for all elements 
Css :: input type file without button 
Css :: full screen box shadow css 
Css :: Link design like a Button" 
Css :: css for background color 
Css :: change png color css 
Css :: background image path 
Css :: scss extend 
Css :: outline bottom css 
Css :: css all clases which start with col- 
Css :: add notification in css 
Css :: css font family 
Css :: remove position absolute attribute by adding css 
Css :: change font size in textarea html 
Css :: css hover a class change effect in another class 
Css :: overflow-x hidden not working 
ADD CONTENT
Topic
Content
Source link
Name
4+2 =