|
| 1 | +# • HOW TO USE OUR CLASSES IN HTML • |
| 2 | + |
| 3 | +## STRUCTURE |
| 4 | +### Components |
| 5 | + included file readme in components folder |
| 6 | + |
| 7 | +### GRID |
| 8 | + row // row |
| 9 | + col-1 // column width 100% |
| 10 | + col-2 // column width 50% |
| 11 | + col-3 // column width 33.3% |
| 12 | + col-4 // column width 25% |
| 13 | + col-5 // column width 20% |
| 14 | + col-23 // column width 66.6% |
| 15 | + col-2m // column min-width 50% |
| 16 | + col-25 // column width 40% |
| 17 | + |
| 18 | +### CARD |
| 19 | + w-card // card body |
| 20 | + w-card _pd // card with padding |
| 21 | + w-card__header // header card inside w-card |
| 22 | + |
| 23 | +### Atom (should turn on in file app.scss) |
| 24 | + 1. Display |
| 25 | + d-b //display-block: |
| 26 | + d-ib //display-inline-block |
| 27 | + d-f // display-flex |
| 28 | + fd-c // flex-direction-column |
| 29 | + jc-sb // justify-content-space-between |
| 30 | + jc-fs // justify-content-flex-start |
| 31 | + jc-c // justify-content-center |
| 32 | + jc-fe // justify-content-flex-end |
| 33 | + ai-c // align-items-center |
| 34 | + ai-fe // align-items-flex-end |
| 35 | + ai-fs // align-items-flex-start |
| 36 | + ai-sb // align-items-space-between |
| 37 | + fg-1 // flex-grow-1 |
| 38 | + |
| 39 | + 2. Margin (should set numbers in margin.scss) |
| 40 | + m$ // margin $ px |
| 41 | + mx$ // margin left and right $px |
| 42 | + my$ // margin top and bottom $px |
| 43 | + example: m10 // margin: 10px; |
| 44 | + |
| 45 | + 3. Padding (should set numbers in padding.scss) |
| 46 | + p$ // padding $ px |
| 47 | + px$ // padding left and right $px |
| 48 | + py$ // padding top and bottom $px |
| 49 | + example: p10 // padding: 10px; |
| 50 | + 4. Other |
| 51 | + pos-rel // position relative |
| 52 | + |
| 53 | + 5. Size |
| 54 | + w100p // width 100% |
| 55 | + h100p // height 100%\ |
| 56 | + |
| 57 | + 6. Text |
| 58 | + ta-l // text-align-left |
| 59 | + ta-c // text-align-center |
| 60 | + ta-r // text-align-right |
| 61 | + ws-nw // white-space-no-wrap |
| 62 | + ws-pl // white-space-pre-line |
| 63 | + ws-n // white-space-normal |
| 64 | + fw400 // font-weight-400 |
| 65 | + fw500 // font-weigh-500 |
| 66 | + fw700 // font-weight-700 |
| 67 | + tt-u // text-transform-uppercase |
| 68 | +### Icons |
| 69 | + <i>edit</i> // We can use material icons in these formats |
0 commit comments