When I inspect elements in Chrome, under my styles I have element.style {}, What does this refer to? It contains styles I am not including in my code source.
element.style {}
Those are inline styles. They come from the style="" attribute or from Javascript code that sets element.style.someProperty.
style=""
element.style.someProperty
2.1m questions
2.1m answers
60 comments
57.0k users