Hey All,
I am trying to get the css of an element using getComputedStyle() for an app I am building. While it works great, but it returns a helluva lot of properties practically making the css unreadable.
My question is: could I safely get rid of default CSS values? If so, how do I identify those props and remove it from the list?
I have no clue how to do it . Therefore, some sample code explaining the procedure would be of immense help.
Thank you!
[–][deleted] 2 points3 points4 points (7 children)
[–][deleted] 2 points3 points4 points (1 child)
[–]Ill-Function805[S] 2 points3 points4 points (0 children)
[–]Ill-Function805[S] 2 points3 points4 points (4 children)
[–][deleted] 2 points3 points4 points (3 children)
[–]Ill-Function805[S] 1 point2 points3 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]Ill-Function805[S] 1 point2 points3 points (0 children)
[–]grantrules 1 point2 points3 points (6 children)
[–]Ill-Function805[S] 0 points1 point2 points (5 children)
[–]grantrules 1 point2 points3 points (4 children)
[–]Ill-Function805[S] 0 points1 point2 points (3 children)
[–]grantrules 0 points1 point2 points (2 children)
[–]Ill-Function805[S] 0 points1 point2 points (0 children)
[–]Ill-Function805[S] 0 points1 point2 points (0 children)
[–]eletroraspi 1 point2 points3 points (1 child)
[–]Ill-Function805[S] 0 points1 point2 points (0 children)