picture
slinky.web.html.picture
object picture extends Tag
The HTML <picture>
element is a container used to specify multiple <source>
elements for a specific <img>
contained in it. The browser will choose the most suitable source according to the current layout of the page (the constraints of the box the image will appear in) and the device it will be displayed on (e.g. a normal or hiDPI device.)
Attributes
- Graph
-
- Supertypes
-
trait Tagclass Objecttrait Matchableclass Any
- Self type
-
picture.type
Members list
In this article