Artboards provide a fixed size container to display content mimicing mobile screens.
The artboard-demo
class provides some basic styling to show the size for
the examples.
The examples below are dynamically-generated with the following list of phone sizes.
phones = [
{ name: "phone-1", width: 320, height: 568 },
{ name: "phone-2", width: 375, height: 667 },
{ name: "phone-3", width: 414, height: 736 },
{ name: "phone-4", width: 375, height: 812 },
{ name: "phone-5", width: 414, height: 896 },
{ name: "phone-6", width: 320, height: 1024 }
]