Posted On April 4, 2019

Basic CSS: Override All Other Styles by using Important

kimconnect 0 comments
blog.KimConnect.com >> Codes >> Basic CSS: Override All Other Styles by using Important
<style>
body {
background-color: black;
font-family: monospace;
color: green;
}
#orange-text {
color: orange;
}
.pink-text {
color: pink;
}
.blue-text {
color: blue;
}
</style>
<h1 id="orange-text" class="pink-text blue-text" style="color: white">Hello World!</h1>

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

WordPress: Add Search Box Into Header

Navigate to Appearance > Theme Editor > select header.php > search for this section: <div…

PowerShell: Get Windows OS Name

function getOsBuild($computername=$env:computername){ $build="" $pingable=test-connection $computername -Count 1 -Quiet if($pingable){ $psinfoIsAvailable=get-command psinfo -ea SilentlyContinue # Requires…

Script to Disable User Accounts

accountsToDisable.txtorangeapplepeartermed user REM disableAccounts.batREM read accountsToDisable.txt and convert names into proper DN entries. Save result…