Michael Michael - 6 months ago 12
AngularJS Question

How can I change CSS style definition to make border on specific div

I have this css style definition:

[class*="col-"] {
border: 1px solid #dddddd;
}


The css style definition above make border for all bootstrap grid columns in my page.

But I need to set border for bootstrap grid columns in specific div with
id = borderedArea
.

Here is example

How can I change above style definition to make border on specific div with id =
borderedArea

Answer

Please try the following :

#borderedArea [class*="col-"] {
    border: 1px solid #dddddd;
}