Container
Container is fundamental class of Fire UI, making your website to be mobile friendly. Our .container
class is a responsive, fixed-width container.
To use it, simply add container
into your classlist
<div class="container"> <!-- Your content here --> </div>
To use only Fire UI container feature, copy and paste this stylesheet link into your head
element to load Fire UI container CSS.
<link rel="stylesheet" href="https://unpkg.com/@fire-ui/fire-ui@0.1.1/src/feature/Grid%20System/grid_system.css">
Starter template with container class
<!DOCTYPE html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Fire UI CSS --> <link rel="stylesheet" type="text/css" href="https://unpkg.com/@fire-ui/fire-ui@0.1.1/FireUI.css"> <!-- Fire UI Javascript --> <script src="https://unpkg.com/@fire-ui/fire-ui@0.1.1/FireUI.js"></script> <title>Hello, world!</title> </head> <body> <div class="container"> <h1>Hello, world!</h1> </div> </body> </html>