Stack Overflow Asked by Darek on November 22, 2021
I have this CSS style:
.bx--text-area:disabled {
position: relative;
border: none;
padding: 0;
-webkit-box-shadow: none;
box-shadow: none;
pointer-events: none;
background: #e5e5e5;
color: black;
height: 6.25rem;
}
And I want to change just the color property without copy-pasting the whole style in to my css stylesheet.
How can I do that? Is that possible?
try
.body{
color:black;
}
Answered by Himanshu Bhardwaj on November 22, 2021
You can add common class to elements and add other class with specific property for that
.commanClass
{
height:100vh;
width:100%;
}
.bg1
{
background: red;
}
.bg2
{
background: blue;
}
<div class="commanClass bg1">
</div>
<div class="commanClass bg2">
</div>
Answered by Ferin Patel on November 22, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP