Besides <figure style="background-image there are not many other cases where inline styles should be used on the templates as they can lead to inconsistencies.
Use of the background-image property is a necessary solution as we can consider the portfolio work as dynamic content – for instance if we used a CMS these images would be uploaded and managed from it's backend and there would be straight forward way to inject the background images into an external stylesheet.
Acceptance Criteria
[ ] Templates do not have inline styles besides background-image
Besides
<figure style="background-image
there are not many other cases where inline styles should be used on the templates as they can lead to inconsistencies.Use of the
background-image
property is a necessary solution as we can consider the portfolio work as dynamic content – for instance if we used a CMS these images would be uploaded and managed from it's backend and there would be straight forward way to inject the background images into an external stylesheet.Acceptance Criteria