✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚡️ Concerned about the grid? Kyle Baranko teaches how to predicting peak loads using XGBoost. Register for the August webinar!

How to change nested class or width property of a div

I’m using callback to change display from none to block of a html.Div:
I set a width of column dash boostrap component as width= {‘offset’: 1, ‘size’: 4}, but when html.Div is displayed with callback it’s getting class = “col-3” and i cannot change this to be full width of dbc.Col element.
Image from console:
How can i change the width or class to be full width of a dbc.Col which is 5 (1 - offset and 4 - width).

This displayed html.Div creates div >div class = ‘row’ > class ‘col-3’. I dont know how to change this class col-3 becuase its created automatically.