CSS Validator
Validate your CSS against common errors and best practices
CSS Input
Paste your CSS code below
/* This is a comment */ html.INSPIREPLUS .ip-gradient-box-card h1, html.INSPIREPLUS .ip-box-card h1, html.INSPIREPLUS body h1.cs-pageTitle, html.INSPIREPLUS .ip-landing-page .ip-landing-page-info .ip-landing-page-info-box h1, html.INSPIREPLUS .ip-landing-page .ip-landing-page-info .ip-landing-page-info-box p:nth-child(1), html.INSPIREPLUS .page-ip-saq .ip-question-title, html.INSPIREPLUS .page-ip-saq .ip-question-title p { font-family: "FormaDJRDisplay" !important; letter-spacing: 1px; } html.INSPIREPLUS .ip-header .ip-textHolder .cs-ip-headerLogo { background-image: url(/cms-course/file/getCompressedThumbNail?jcrPartPath=images/CourseImages/subFiles/COM419/subFiles/en/subFiles/com419_l01_01_desk.jpg); /* This URL rule is out of order */ background-size: contain; background-position: center center; background-repeat: no-repeat; } html.INSPIREPLUS .ip-lessons-tiles-wrapper .ip-lessons-tiles-item .ip-tile-card .ip-tile-card-inner .ip-tile-card-title, html.INSPIREPLUS .ip-header .ip-textHolder>app-text-content .course-title { font-family: "FormaDJRDisplay" !important; letter-spacing: 1px; } html.INSPIREPLUS .ip-hotspot-dialog .ip-hotspot-content-wrap h2.title, html.INSPIREPLUS .modal .bulletin-dialog .bulletin-dialog-text .ip-bulletin-content-wrap h2.title, html.INSPIREPLUS .page-ip-saq .ip-feedback-container .ip-feedback-content .ip-feedbackTitle { font-family: "FormaDJRDisplay" !important; letter-spacing: 1px; } /* Add a forbidden URL rule to test both validations */ .forbidden-url-rule { background-image: url(https://authoring.lrn.com/cms-course/some/other/path.png); } /* Invalid property value */ .invalid-property { color: red123; margin: 10pixels; } /* Missing semicolon */ .missing-semicolon { color: #333 padding: 10px; }
Validate CSS