@daveyerwinJul 19.2021 — #@codewitch#1634362 said ...
I am looking for something else. I am looking for list of all CSS attributes for a specific HTML element. ____________________________________________________________
@SempervivumJul 19.2021 — #What came across my mind first was the function getComputedStyle:
https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle >The Window.getComputedStyle() method returns an object containing the values of all CSS properties of an element, after applying active stylesheets and resolving any basic computation those values may contain.
I gave it a try and there was a disillusion: I took align-items as a property and img as an element where this property is not applicable obviously. But nevertheless it was listed.
I took the same example and looked up in MDN. The result is "Applies to all elements"