Commit Graph

14 Commits

Author SHA1 Message Date
spongycake 0545085e74 Grid, with rows and columns, see ->
A number of classes have been added to control the layout in a
grid-based way.

To start `row` is wrapped the elements you wish to group in a horizontal
line.

Next up, `grid-small` and `grid-large` relate to columns and behavior on
screen size. For example, `grid-large` will trigger layout changes when
the screen reaches a "desktop size" and `grid-small` for "mobile size".

The list of available column widths:

* half
* one-fourth
* three-fourths
* one-third
* two-thirds

Going in the order they are declared, for example, columns A,B - when A is
one-third and B is two-thirds. This means A will occupy 33% and B will
occupy 66%.

Additionally, look at _sass-mq.scss file if you want to define different
screen sizes.

EXAMPLE:
```
<div class="row">
  <div class="grid-large two-thirds">
    2/3
  </div>
  <div class="grid-large one-third">
    1/3
  </div>
</div>
```

===Sass API===
We have a helper called `media-query`. It directs calls to the sass-mq
library. Say we wanted to include a breakpoint in your sass files, do the following:

```
@include media-query($from: mobile) {
  // content
}
```
You are now generating a media-queries for mobile screens.

To understand what arguments can be passed to `media-query` then look at
the sass-mq documentation. [https://sass-mq.github.io/sass-mq/](https://sass-mq.github.io/sass-mq/)

=== Other ===
Technical - implementation being used in grid is flexbox. Do not expect
support for standard HTML Grid Layout.
2022-02-26 14:28:51 +00:00
spongycake 201c216017 build v0.1.3 2022-02-15 22:30:31 +00:00
spongycake 1ec4b5a476 +demo image using img-fluid class 2022-02-15 22:27:18 +00:00
spongycake 3ced35f951 remove useless files 2022-02-15 21:56:23 +00:00
nx 8f3b53f5d2 v0.1.2 build 2022-02-04 02:00:13 +00:00
spongycake ee414ae664 previously known app.js 2022-02-02 01:15:02 +00:00
spongycake 1595773486 deleted 2022-02-02 01:14:06 +00:00
spongycake 8bd5328f92 0.1.1 style.css 2022-02-02 01:12:36 +00:00
spongycake 92f71ab9d1 0.1.1 style.min.css 2022-02-02 01:12:22 +00:00
spongycake ba3b418462 0.1.1 index.html 2022-02-01 23:17:00 +00:00
spongycake 63d7b1db59 0.1.1 style.css 2022-02-01 23:08:22 +00:00
spongycake b1eae59c7e 0.1.1 style.min.css 2022-02-01 23:08:05 +00:00
spongycake f0223a3a03 v0.1.1 build 2022-01-28 12:56:06 +00:00
Dooglet b49dbcb976 live website files 2022-01-23 19:11:30 +00:00