Utilities
CSS Minifier
Online CSS Minifier Tool and Compressor, with Fast and Simple API Access
Input CSS
html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*, *:before, *:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

.gpu-acc {
    -webkit-perspective: 1000px;
    -moz-perspective: 1000px;
    perspective: 1000px;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}

html, body {
    height: 100%;
}

body {
    background: -webkit-linear-gradient(42deg, #4a43eb, #43cfeb);
    background: -o-linear-gradient(42deg, #f48d53, #f45353);
    background: linear-gradient(48deg, #4a43eb, #43cfeb)
    color: #484245;
    font-family: "Vazirmatn", sans-serif;
    text-align: right;
}
.split-wrapper, .split-container, .split-col {
    height: 100%;
}

.split-container, .split-col {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.split-col {
    flex: 1;
}

/* 3.3 Column Left (Logo, Heading, Content, Download Buttons, Footer Credits)
-------------------------------------------------------------- */
.col-left {
    background: #FFF;
}

.col-left .content {
    max-width: 480px;
    margin: 0 2rem;
}

.dl-wrapper {
    margin-top: 2em;
    white-space: nowrap; /* Remove this if you add more than two buttons */
}

.dl-btn {
    display: inline-block;
    margin-right: 0.25rem;
}

.dl-wrapper img {
    height: 48px;
}

h1 {
    font-size: 1.618em;
    line-height: 1.25;
    margin: 1.25em 0 0.625em;
}

p {
    font-size: 1em;
    line-height: 2;
    margin: 0;
	direction: rtl;
}

.credits-info {
    padding-top: 2rem;
}

.credits-info p {
    color: #989898;
}

.credits-info a {
    color: #989898;
}

.credits-info a:hover {
    color: #4B22FF;
}

.social-links {
  margin: 0;
  padding: 2.5em 0 0;
}

.social-links li {
    position: relative;
    display: inline;
    padding-bottom: 0.1875em;
    margin-right: 0.75em;
}

.social-links li a {
    color: #989898;
    text-decoration: none;
    -webkit-transition: color 0.35s;
    -moz-transition: color 0.35s;
    -ms-transition: color 0.35s;
    -o-transition: color 0.35s;
    transition: color 0.35s;
    cursor: pointer;
}

.social-links li a:hover {
    color: #4B22FF;
}

.logo-container img {
  display: block;
  max-width: 95px;
}


/* 3.4 Column Right (Mobile Mockup, Screenshot slider)
-------------------------------------------------------------- */
.android-mockup {
    position: relative;
    width: 320px;
    height: 636px;
    background: url("../../images/android-bg-white.png") no-repeat left top transparent;
    background-size: contain;
}

.ios-mockup {
    position: relative;
    width: 320px;
    height: 644px;
    background: url("../../images/ios-bg-white.png") no-repeat left top transparent;
    background-size: contain;
}

.drop-shadow {
    filter: drop-shadow(0px 10px 14px rgba(0,0,0,0.36));
    -webkit-filter: drop-shadow(0px 10px 14px rgba(0,0,0,0.36));
    -moz-filter: drop-shadow(0px 10px 14px rgba(0,0,0,0.36));
}

.swiper-container {
    position: absolute;
    left: 16px;
    top: 54px;
    width: 289px;
    height: 512px;
    border: 1px solid #eaeaea;
}

.ios-mockup .swiper-container {
    left: 18px;
    top: 71px;
    width: 285px;
    height: 501px;
}

.swiper-slide img {
    width: 100%;
}

/* ==================================================================
4.0 Responsive Styles
================================================================== */
@media only screen and (max-width: 1408px) {
    .ios-mockup {
        width: 298px;
        height: 600px;
    }

    .android-mockup {
        width: 302px;
        height: 600px;
    }

    .swiper-container {
        left: 15px;
        top: 51px;
        width: 273px;
        height: 485px;
    }

    .ios-mockup .swiper-container {
        left: 17.5px;
        top: 66px;
        width: 265px;
        height: 470px;
    }
}

@media only screen and (max-width: 1023px) {
    html, body {
        height: auto;
    }

    .split-container {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        height: auto;
    }

    .split-col {
        padding: 4rem 1.5rem;
        width: 100%;
    }

    .col-left .content {
        margin: 0;
    }

    .col-right {
        padding-left: 0;
        padding-right: 0;
    }
}

@media only screen and (max-width: 480px) {
  body {
    font-size: 14px;
  }
}

@media only screen and (max-width: 360px) {
  .dl-btn {
    display: block;
    margin: 0.5rem 0;
  }

  .ios-mockup, .android-mockup {
    transform: scale(0.9);
  }
}

Minified CSS Output
.android-mockup,.ios-mockup{position:relative;width:320px}html{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}*,:after,:before{-webkit-box-sizing:inherit;-moz-box-sizing:inherit;box-sizing:inherit}.gpu-acc{-webkit-perspective:1000px;-moz-perspective:1000px;perspective:1000px;-webkit-transform:translateZ(0);-moz-transform:translateZ(0);transform:translateZ(0);-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden}.split-col,.split-container,.split-wrapper,body,html{height:100%}body{background:-webkit-linear-gradient(42deg,#4a43eb,#43cfeb);background:-o-linear-gradient(42deg,#f48d53,#f45353);background:linear-gradient(48deg,#4a43eb,#43cfeb) #484245;font-family:Vazirmatn,sans-serif;text-align:right}.split-col,.split-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-line-pack:center;align-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.split-col{flex:1}.col-left{background:#fff}.col-left .content{max-width:480px;margin:0 2rem}.dl-wrapper{margin-top:2em;white-space:nowrap}.dl-btn{display:inline-block;margin-right:.25rem}.dl-wrapper img{height:48px}h1{font-size:1.618em;line-height:1.25;margin:1.25em 0 .625em}p{font-size:1em;line-height:2;margin:0;direction:rtl}.credits-info{padding-top:2rem}.credits-info a,.credits-info p{color:#989898}.credits-info a:hover,.social-links li a:hover{color:#4b22ff}.social-links{margin:0;padding:2.5em 0 0}.social-links li{position:relative;display:inline;padding-bottom:.1875em;margin-right:.75em}.social-links li a{color:#989898;text-decoration:none;-webkit-transition:color .35s;-moz-transition:color .35s;-ms-transition:color .35s;-o-transition:color .35s;transition:color .35s;cursor:pointer}.logo-container img{display:block;max-width:95px}.android-mockup{height:636px;background:url("../../images/android-bg-white.png") left top/contain no-repeat}.ios-mockup{height:644px;background:url("../../images/ios-bg-white.png") left top/contain no-repeat}.drop-shadow{filter:drop-shadow(0px 10px 14px rgba(0,0,0,.36));-webkit-filter:drop-shadow(0px 10px 14px rgba(0,0,0,0.36));-moz-filter:drop-shadow(0px 10px 14px rgba(0,0,0,0.36))}.swiper-container{position:absolute;left:16px;top:54px;width:289px;height:512px;border:1px solid #eaeaea}.ios-mockup .swiper-container{left:18px;top:71px;width:285px;height:501px}.swiper-slide img{width:100%}@media only screen and (max-width:1408px){.ios-mockup{width:298px;height:600px}.android-mockup{width:302px;height:600px}.swiper-container{left:15px;top:51px;width:273px;height:485px}.ios-mockup .swiper-container{left:17.5px;top:66px;width:265px;height:470px}}@media only screen and (max-width:1023px){body,html{height:auto}.split-container{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:auto}.split-col{padding:4rem 1.5rem;width:100%}.col-left .content{margin:0}.col-right{padding-left:0;padding-right:0}}@media only screen and (max-width:480px){body{font-size:14px}}@media only screen and (max-width:360px){.dl-btn{display:block;margin:.5rem 0}.android-mockup,.ios-mockup{transform:scale(.9)}}
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 the top 3% of freelance talent
Join the Toptal Network
Copyright 2010 - 2023 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
