Optimize CSS for http://www.arthouseapartment.uk/theme/arthouse/css/main.css

Improve your CSS performance by reducing complexity

Validate CSS for parsing errors and warnings

Check and Cleanup CSS Offenders

  • Duplicated Properties3

    Duplicate properties detected for your selector

    Remove or combine duplicate properties to clean up your css

    .menu-open .pageOverlay {background-color: rgba(0,0,0,.8)} .activated {transition: transform .2s cubic-bezier(.16,.68,.43,.99),-webkit-transform .2s cubic-bezier(.16,.68,.43,.99)} .mfp-zoom {cursor: zoom-in} 
  • Importants2

    Provides a way for a stylesheet author to give a CSS value more weight than it naturally has

    Avoid usage if at all possible. When you use !important, you’re disrupting the natural flow of your rules, giving more weight to rules that are undeserving of such weight

    .mfp-wrap {outline: 0!important} .mfp-hide {display: none!important} 
  • Multi Classes Selectors10

    Selectors with multiple classes

    Unnecessary specificity, consider reducing to single class or id instead

    .mfp-figure.mfp-loading {}.mfp-bg.mfp-fade {}.mfp-bg.mfp-fade.mfp-ready {}.mfp-bg.mfp-fade.mfp-removing {}.mfp-fade.mfp-wrap {}.mfp-fade.mfp-ready.mfp-wrap {}.mfp-fade.mfp-removing.mfp-wrap {}.received.result {}.received.result {}.received.result {}
  • Old Property Prefixes1

    Properties with a no longer needed vendor prefix

    These have since been integrated or removed from mentioned browsers and can safely be removed from CSS

    *, :after,  { -webkit-box-sizing: border-box } // was required by Android Browser 3, Chrome 9, iOS Safari 4.2, Safari 5 and earlier 
  • Property Resets1
    .ctaGroup-button: "margin" resets "margin-left" property set earlier 
  • Qualified Selectors7

    Since IDs are unique and classes are more unique than tags, adding a tag name would slow down the matching process needlessly

    Don’t qualify class or ID rules with tag names, as they are more unique than the tag. Strip tag names where possible

    img.mfp-img {}h2.listingItem-heading {}button.mfp-arrow {}button.mfp-close {}img.mfp-img {}img.mfp-img {}div.mfp-close {}
  • Redundant Child Nodes Selectors3

    Deteced redundancies for child node selectors

    Dry up duplication by nesting rules under a set of similar selectors

    .roomFeatures ul li {}.roomFeatures ul li:after {}.roomFeatures ul li:after {}
  • Universal Selectors4

    The universal selector matches any element type

    Universal selectors can be implied (and therefore omitted) if it isn’t the only component of the simple selector, avoid whenever possible

    [hidden] {}* {}:after {} {}

CSS Stats

CSS Metrics

Base64 Length460
Redundant Body Selectors0
Comments Length0
Complex Selectors0
Complex Selectors By Attribute0
Duplicated Selectors0
Empty Rules0
Old IE Fixes0
Media Queries18
Not Minified0
Parsing Errors0
Specificity Id Avg0
Specificity Id Total0
Specificity Class Avg1.03
Specificity Class Total420
Specificity Tag Avg0.62
Specificity Tag Total251
Selector Length Avg1.3611793611793612
Selectors By Attribute14
Selectors By Class351
Selectors By Id0
Selectors By Pseudo86
Selectors By Tag206