Utilities
CSS Minifier
Online CSS Minifier Tool and Compressor, with Fast and Simple API Access
Input CSS
html{color:#222;font-size:1em;line-height:1.4}::-moz-selection{background:#b3d4fc;text-shadow:none}::selection{background:#b3d4fc;text-shadow:none}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}audio, canvas, iframe, img, svg, video{vertical-align:middle}fieldset{border:0;margin:0;padding:0}textarea{resize:vertical}.browserupgrade{margin:0.2em 0;background:#ccc;color:#000;padding:0.2em 0}.hidden{display:none !important}.sr-only{border:0;clip:rect(0, 0, 0, 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.sr-only.focusable:active, .sr-only.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;white-space:inherit;width:auto}.invisible{visibility:hidden}.clearfix:before, .clearfix:after{content:" ";display:table}.clearfix:after{clear:both}@media only screen and (min-width:35em){}@media print, (-webkit-min-device-pixel-ratio:1.25), (min-resolution:1.25dppx), (min-resolution:120dpi){}@media print{*, *:before, *:after{background:transparent !important;color:#000 !important;box-shadow:none !important;text-shadow:none !important}a, a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after, a[href^="javascript:"]:after{content:""}pre{white-space:pre-wrap !important}pre, blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr, img{page-break-inside:avoid}p, h2, h3{orphans:3;widows:3}h2, h3{page-break-after:avoid}}.form-style{padding:15px 10px 20px 20px;clear:both;border-top:15px solid #2e30ed;background-color:#D5D5D5;text-align:left;margin:0 0 25px 0;filter:alpha(opacity=88);opacity:0.88;border-radius:0 50px 0px 30px;-moz-border-radius:0 0 7px 7px;float:right}.form-style p, .form-style td{text-shadow:0px 1px #fff;line-height:100%}.form-style select{font-size:16px;color:#660000;border:2px solid #876666}input.text-field{height:21px;width:270px;font-size:16px;color:#660033;border:2px solid #876666;padding:4px;margin:4px 0 5px}textarea{
	height: 63px;
	width: 270px;
	font-size: 16px;
	color: #3b62e3;
	border: 2px solid #876666;
	padding: 4px;
	margin: 4px 0 5px
}input.submit-button{width:150px;height:50px;color:#333;font-size:18px;font-weight:bold;margin:5px 0 15px;text-transform:uppercase}.map-responsive{overflow:hidden;padding-bottom:56.25%;position:relative;height:0}.map-responsive iframe{left:0;top:0;height:100%;width:100%;position:absolute}#backgrounddemo{background:#A5A5A5 url("http://www.suburbanautobodyva.com/images-2019/broken-glass-white-png-16.png") no-repeat scroll 0 0}


/* Prevent header from shifting */
#p7HMY_3 {
  min-height: 150px; /* Adjust this based on your design */
}

.AJXIReBGbCcBpics img {
  width: 100%; 
  height: auto;
}

/* Reserve space for image rotators */
.AJXIReBGbCcBpics {
  width: 100%;
  height: 400px; /* Adjust this if needed */
}

/* Prevent CLS for all images. In other words Ensure other dynamic images have a reserved space */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Set a fallback font to reduce layout shifts */
body {
  font-family: Lato, Arial, sans-serif;
}


/* Reserve Space for Dynamic Content START
Fix Navigation Menu and Form Height
he navigation menu and form might be adjusting height dynamically. Use: */

.p7MXM {
    min-height: 50px;
}

/* Reserve Space for Dynamic Content END
Fix Navigation Menu and Form Height
he navigation menu and form might be adjusting height dynamically. Use: */

html {
  scroll-behavior: smooth;
}


Minified CSS Output
input.text-field,textarea{width:270px;padding:4px;margin:4px 0 5px}hr,img{display:block}html{color:#222;font-size:1em;line-height:1.4;scroll-behavior:smooth}::-moz-selection{background:#b3d4fc;text-shadow:none}::selection{background:#b3d4fc;text-shadow:none}hr{height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}audio,canvas,iframe,img,svg,video{vertical-align:middle}fieldset{border:0;margin:0;padding:0}.browserupgrade{margin:.2em 0;background:#ccc;color:#000;padding:.2em 0}.hidden{display:none!important}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.sr-only.focusable:active,.sr-only.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;white-space:inherit;width:auto}.invisible{visibility:hidden}.clearfix:after,.clearfix:before{content:" ";display:table}.clearfix:after{clear:both}@media print{blockquote,img,pre,tr{page-break-inside:avoid}*,:after,:before{background:0 0!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}pre{white-space:pre-wrap!important}blockquote,pre{border:1px solid #999}thead{display:table-header-group}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}}.form-style{padding:15px 10px 20px 20px;clear:both;border-top:15px solid #2e30ed;background-color:#d5d5d5;text-align:left;margin:0 0 25px;opacity:.88;border-radius:0 50px 0 30px;-moz-border-radius:0 0 7px 7px;float:right}.form-style select,input.text-field,textarea{font-size:16px;border:2px solid #876666}.form-style p,.form-style td{text-shadow:0 1px #fff;line-height:100%}.form-style select{color:#600}input.text-field{height:21px;color:#603}textarea{resize:vertical;height:63px;color:#3b62e3}input.submit-button{width:150px;height:50px;color:#333;font-size:18px;font-weight:700;margin:5px 0 15px;text-transform:uppercase}.map-responsive{overflow:hidden;padding-bottom:56.25%;position:relative;height:0}.map-responsive iframe{left:0;top:0;height:100%;width:100%;position:absolute}#backgrounddemo{background:url("http://www.suburbanautobodyva.com/images-2019/broken-glass-white-png-16.png") no-repeat #a5a5a5}#p7HMY_3{min-height:150px}.AJXIReBGbCcBpics img{width:100%;height:auto}.AJXIReBGbCcBpics{width:100%;height:400px}img{max-width:100%;height:auto}body{font-family:Lato,Arial,sans-serif}.p7MXM{min-height:50px}
CSS Minifier Tool Documentation
The API has changed, to see more please click here
To minify/compress your CSS, perform a POST request to

API https://www.toptal.com/developers/cssminifier/api/raw
with the input parameter set to the CSS you want to minify.

Hire World Class Talent with Toptal
CSS Developers
Landing Page Designers
Animation Designers
Web Developers
Social Media Designers
Webflow Designers
Blog Designers
Salesforce Consultants
Mobile UI Designers
WPF Developers
Level Designers
Mobile Game Designers
CSS3 Developers
VBA Developers
Marketo Developers
Hire the top 3% of freelance talent
Join the Toptal Network
Copyright 2010 - 2025 Toptal, LLC

Privacy Policy
Website terms
By continuing to use this site you agree to our Cookie Policy Privacy Policy, and Terms of Use.

Got it
