skip to Main Content

Css – not able to target element

I have HTML Like this <element1 class="class__1"> <element2 removePadding></element2> <element3 class="class-3"></element3> </element> I want to change the margin-bottom of class-3 only when element2 has removePadding attribute, I tried like this element1 element2[removePadding] element1 element3.class-3 { margin-top: 20px; } but this…

VIEW QUESTION

Connecting CSS in Django project

Please tell me what the error is. After running the python manage.py collectstatic files were generated, the js scripts work, but the css file is not connected. base.html <!doctype html> {% load static %} <html lang="en"> <head> .... <!--Custome CSS-->…

VIEW QUESTION

Css – How to change ngx datatable header background color?

i want to set the table header background to blue color. this is my html: <ngx-datatable class="material" [rows]="rows" [columnMode]="'force'" [headerHeight]="50" [footerHeight]="50" [rowHeight]="'auto'" ngClass="{'table-striped': false}"> <ngx-datatable-column name="ID RECLAMO" prop="idReclamo" class="bg-dark"></ngx-datatable-column> <ngx-datatable-column name="SEGNALTO" prop="dataSegnalizione"> <ng-template let-row="row" ngx-datatable-cell-template> {{ row.dataSegnalizione | date:'dd/MM/yyyy' }}…

VIEW QUESTION
Back To Top
Search