Skip to content

1.0.22

Compare
Choose a tag to compare
@nikolai-shabalin nikolai-shabalin released this 17 May 08:00
· 16 commits to main since this release

Added a new rule htmlacademy/req-source-width-height that requires the width and height attributes of <source>, inside <picture>.

<picture>
  <source srcset="images/image-tablet.jpg" width="768" height="480" media="(min-width: 768px)">
  <img src="images/image-mobile.jpg" width="320" height="148" alt="">
</picture>