bullframe.css 3.8.2 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.browserslistrc +5 -5
- package/.stylelintrc.json +10 -0
- package/CHANGELOG.md +12 -6
- package/LICENSE +20 -20
- package/README.md +15 -146
- package/dist/css/bullframe-classless-dark-prefers.css +357 -425
- package/dist/css/bullframe-classless-dark-prefers.min.css +2 -3
- package/dist/css/bullframe-classless-dark-prefers.min.css.map +1 -1
- package/dist/css/bullframe-classless-dark.css +328 -412
- package/dist/css/bullframe-classless-dark.min.css +2 -3
- package/dist/css/bullframe-classless-dark.min.css.map +1 -1
- package/dist/css/bullframe-classless.css +237 -293
- package/dist/css/bullframe-classless.min.css +2 -2
- package/dist/css/bullframe-classless.min.css.map +1 -1
- package/dist/css/bullframe-dark-prefers.css +468 -633
- package/dist/css/bullframe-dark-prefers.min.css +2 -2
- package/dist/css/bullframe-dark-prefers.min.css.map +1 -1
- package/dist/css/bullframe-dark.css +402 -593
- package/dist/css/bullframe-dark.min.css +2 -2
- package/dist/css/bullframe-dark.min.css.map +1 -1
- package/dist/css/bullframe-utilities.css +67 -105
- package/dist/css/bullframe-utilities.min.css +1 -1
- package/dist/css/bullframe-utilities.min.css.map +1 -1
- package/dist/css/bullframe.css +288 -455
- package/dist/css/bullframe.min.css +1 -1
- package/dist/css/bullframe.min.css.map +1 -1
- package/docs/test/css/style.css +130 -130
- package/docs/test/icons/safari-pinned-tab.svg +28 -28
- package/docs/test/js/vendor/html5shiv.js +335 -335
- package/docs/test/js/vendor/ie10-viewport-bug-workaround.js +20 -20
- package/gulpfile.js +5 -2
- package/index.html +2 -11
- package/package.json +12 -6
- package/src/scss/bullframe-classless-dark-prefers.scss +5 -5
- package/src/scss/bullframe-classless-dark.scss +5 -5
- package/src/scss/bullframe-classless.scss +1 -9
- package/src/scss/bullframe-dark-prefers.scss +4 -4
- package/src/scss/bullframe-dark.scss +4 -4
- package/src/scss/bullframe-utilities.scss +1 -1
- package/src/scss/bullframe.scss +0 -7
- package/src/scss/forms/_forms-normalization.scss +4 -2
- package/src/scss/forms/_forms-styling-radio-checkbox.scss +84 -85
- package/src/scss/forms/_forms-styling-range.scss +99 -103
- package/src/scss/forms/_forms-styling-select.scss +63 -63
- package/src/scss/forms/_forms-styling.scss +119 -121
- package/src/scss/miscellaneous/_misc-focus.scss +0 -1
- package/src/scss/miscellaneous/_misc-layout.scss +1 -24
- package/src/scss/mixins/_mixin-grid-flex.scss +83 -83
- package/src/scss/mixins/_mixin-layout.scss +42 -42
- package/src/scss/mixins/_mixin-texts.scss +38 -37
- package/src/scss/typography/_typography-blockquotes.scss +23 -23
- package/src/scss/typography/_typography-headings.scss +43 -43
- package/src/scss/typography/_typography-html-body.scss +72 -72
- package/src/scss/typography/_typography-misc.scss +3 -3
- package/src/scss/typography/_typography-monospaced-elements.scss +50 -56
- package/src/scss/utilities/_utility-buttons.scss +71 -71
- package/src/scss/utilities/_utility-embeds.scss +34 -34
- package/src/scss/utilities/_utility-filters.scss +24 -24
- package/src/scss/utilities/_utility-form-states.scss +80 -80
- package/src/scss/utilities/_utility-global-dark-classless.scss +157 -169
- package/src/scss/utilities/_utility-global-dark-prefers-classless.scss +3 -3
- package/src/scss/utilities/_utility-global-dark-prefers.scss +3 -3
- package/src/scss/utilities/_utility-global-dark-scrollbars.scss +29 -29
- package/src/scss/utilities/_utility-global-dark.scss +213 -224
- package/src/scss/utilities/_utility-grid-system.scss +204 -204
- package/src/scss/utilities/_utility-layout.scss +195 -196
- package/src/scss/utilities/_utility-lists.scss +17 -17
- package/src/scss/utilities/_utility-print.scss +101 -111
- package/src/scss/utilities/_utility-reduced-motion.scss +29 -29
- package/src/scss/utilities/_utility-tables.scss +40 -40
- package/src/scss/utilities/_utility-texts.scss +199 -199
- package/src/scss/utilities/_utility-z-index.scss +82 -82
- package/src/scss/variables/_variables-breakpoints.scss +5 -5
- package/src/scss/variables/_variables-colors.scss +31 -31
- package/src/scss/variables/_variables-spacing.scss +25 -25
- package/src/scss/variables/_variables-texts.scss +12 -12
- package/dist/css/bullframe-classless-dark-ie10+.css +0 -1321
- package/dist/css/bullframe-classless-dark-ie10+.min.css +0 -4
- package/dist/css/bullframe-classless-dark-ie10+.min.css.map +0 -1
- package/dist/css/bullframe-classless-dark-prefers-ie10+.css +0 -1301
- package/dist/css/bullframe-classless-dark-prefers-ie10+.min.css +0 -4
- package/dist/css/bullframe-classless-dark-prefers-ie10+.min.css.map +0 -1
- package/dist/css/bullframe-classless-ie10+.css +0 -1084
- package/dist/css/bullframe-classless-ie10+.min.css +0 -3
- package/dist/css/bullframe-classless-ie10+.min.css.map +0 -1
- package/dist/css/bullframe-dark-ie10+.css +0 -2569
- package/dist/css/bullframe-dark-ie10+.min.css +0 -3
- package/dist/css/bullframe-dark-ie10+.min.css.map +0 -1
- package/dist/css/bullframe-dark-prefers-ie10+.css +0 -2541
- package/dist/css/bullframe-dark-prefers-ie10+.min.css +0 -3
- package/dist/css/bullframe-dark-prefers-ie10+.min.css.map +0 -1
- package/dist/css/bullframe-ie10+.css +0 -2250
- package/dist/css/bullframe-ie10+.min.css +0 -2
- package/dist/css/bullframe-ie10+.min.css.map +0 -1
- package/docs/images-readme/browserstack-logo.png +0 -0
- package/src/scss/bullframe-classless-dark-ie10+.scss +0 -5
- package/src/scss/bullframe-classless-dark-prefers-ie10+.scss +0 -5
- package/src/scss/bullframe-classless-ie10+.scss +0 -43
- package/src/scss/bullframe-dark-ie10+.scss +0 -4
- package/src/scss/bullframe-dark-prefers-ie10+.scss +0 -4
- package/src/scss/bullframe-ie10+.scss +0 -121
- package/src/scss/forms/_forms-styling-ie-hacks.scss +0 -56
- package/src/scss/forms/_forms-styling-select-ie-hacks.scss +0 -30
package/.browserslistrc
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# https://github.com/browserslist/browserslist#readme
|
|
2
|
-
|
|
3
|
-
last 2 major versions
|
|
4
|
-
not dead
|
|
5
|
-
ie 6-8
|
|
1
|
+
# https://github.com/browserslist/browserslist#readme
|
|
2
|
+
|
|
3
|
+
last 2 major versions
|
|
4
|
+
not dead
|
|
5
|
+
ie 6-8
|
|
6
6
|
iOS 7
|
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
# Changes to bullframe.css
|
|
2
2
|
|
|
3
|
+
## 4.0.0 (August 11, 2022)
|
|
4
|
+
|
|
5
|
+
* [breaking changes] **Dropped support for I8, IE9, and IE10 support**
|
|
6
|
+
* [breaking changes] Upgraded all npm packages to minor and major latest versions (e.g. gulp-sass v5 now in use)
|
|
7
|
+
* Cleaned up `README.md`
|
|
8
|
+
|
|
3
9
|
## 3.8.2 (June 26, 2021)
|
|
4
10
|
|
|
5
|
-
*
|
|
6
|
-
*
|
|
11
|
+
* Upgraded cssnano, autoprefixer and postcss plugins to major versions [(a6a9ecc)](https://github.com/marcop135/bullframe.css/commit/a6a9ecc3b52a30e1a5c4408967268d22f46a8e2c)
|
|
12
|
+
* Cleaned up `README.md`
|
|
7
13
|
|
|
8
14
|
## 3.8.1 (June 22, 2021)
|
|
9
15
|
|
|
@@ -11,14 +17,14 @@
|
|
|
11
17
|
|
|
12
18
|
## 3.8.0 (June 22, 2021)
|
|
13
19
|
|
|
14
|
-
* [breaking changes]
|
|
15
|
-
*
|
|
16
|
-
*
|
|
20
|
+
* [breaking changes] Reverted html/body `height` and `body` `min-height` to `auto` (default value) to avoid web app scrollbar issues
|
|
21
|
+
* Added support for Skypack CDN
|
|
22
|
+
* Added Synk vuln badge in `README.md`
|
|
17
23
|
|
|
18
24
|
## 3.7.0 (April 24, 2021)
|
|
19
25
|
|
|
20
26
|
* [breaking changes] Set html/body `height` and `body` `min-height` to `100%` to help with backgrounds and centering [(8239677)](https://github.com/marcop135/bullframe.css/)
|
|
21
|
-
* [bug fixes]
|
|
27
|
+
* [bug fixes] Added missing margin/padding spacing utilities to `utility-spacing.scss` [(e1cdf4c)](https://github.com/marcop135/bullframe.css/commit/e1cdf4ccfd70662a3d1babe2d5d0457b8ef6e569)
|
|
22
28
|
* [enhancements] Removed W3C-invalid CSS properties/values from SCSS files [(2791b83)](https://github.com/marcop135/bullframe.css/commit/2791b83eab872abe92a2fd6cc3b3bc8d684fcc36)
|
|
23
29
|
* [enhancements] Added Sass [@debug](https://sass-lang.com/documentation/at-rules/debug) rule to debugging utility [(969fcf3c)](https://github.com/marcop135/bullframe.css/commit/969fcf3ccb474f5bc5888841d479216b3e54de0a)
|
|
24
30
|
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2021 Marco Pontili
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021 Marco Pontili
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -12,25 +12,19 @@
|
|
|
12
12
|
|
|
13
13
|
[https://github.com/marcop135/bullframe.css](https://github.com/marcop135/bullframe.css)
|
|
14
14
|
|
|
15
|
-
bullframe.css is a Sass (SCSS) framework that works in
|
|
15
|
+
bullframe.css is a Sass (SCSS) framework that works in a wide range of desktop and mobile browsers.
|
|
16
|
+
It's a cross-browser and responsive collection of default HTML UI elements ([atoms](https://bradfrost.com/blog/post/atomic-web-design)) for your Sass project.
|
|
17
|
+
It could be easily used for marketing pages, blog posts, e-commerce product listings, help and documentation.
|
|
16
18
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
1. Add a good HTML template
|
|
20
|
-
2. Write semantic HTML5
|
|
21
|
-
3. Add a few utility classes (optional)
|
|
22
|
-
4. Add JS polyfills (optional)
|
|
23
|
-
5. _...ready to go everywhere!_
|
|
24
|
-
|
|
25
|
-
<br>
|
|
19
|
+
**Just add bullframe.css, write semantic HTML5, and you are ready to go everywhere!**
|
|
26
20
|
|
|
27
21
|
## Best features
|
|
28
22
|
|
|
29
|
-
-
|
|
23
|
+
- Wide range of desktop and mobile browsers support
|
|
30
24
|
- Add responsive-ness and normalize as much as possible HTML elements *out-of-the-box*
|
|
31
25
|
- Progressive responsive web design focused
|
|
32
26
|
- Responsive, cross-browser, HTML5 form elements by default
|
|
33
|
-
- A simple 12-columns fluid grid system
|
|
27
|
+
- A simple 12-columns fluid grid system
|
|
34
28
|
- Sass architecture
|
|
35
29
|
- CSS BEM
|
|
36
30
|
- Responsive typography
|
|
@@ -84,10 +78,6 @@ bullframe.css/
|
|
|
84
78
|
...
|
|
85
79
|
```
|
|
86
80
|
|
|
87
|
-
<br>
|
|
88
|
-
|
|
89
|
-
---
|
|
90
|
-
|
|
91
81
|
## Getting started
|
|
92
82
|
|
|
93
83
|
### Download
|
|
@@ -114,7 +104,6 @@ UNPKG (latest release, not ready for production)
|
|
|
114
104
|
<link rel="stylesheet" href="https://unpkg.com/bullframe.css">
|
|
115
105
|
```
|
|
116
106
|
|
|
117
|
-
|
|
118
107
|
### npm
|
|
119
108
|
|
|
120
109
|
Once you have installed [Node.js](https://nodejs.org/en/download/), you can run this command to install bullframe.css into your project:
|
|
@@ -148,55 +137,6 @@ gulp
|
|
|
148
137
|
|
|
149
138
|
### HTML
|
|
150
139
|
|
|
151
|
-
Add some HTML markup, and two JS polyfills (if you need a wide cross-browser support).
|
|
152
|
-
|
|
153
|
-
Tip: if you need min/max-width CSS3 Media Queries support in IE8 (e.g. mobile-first responsive design), you could polyfill it with [respond.js](https://github.com/scottjehl/Respond).
|
|
154
|
-
|
|
155
|
-
Tip: Improve the JS polyfills security via the `integrity` and `crossorigin` attributes. [Read more](https://stackoverflow.com/questions/32039568/what-are-the-integrity-and-crossorigin-attributes)
|
|
156
|
-
|
|
157
|
-
Caveats: [IE8 and Respond.js](https://getbootstrap.com/docs/3.4/getting-started/#support-ie8-respondjs) caveats.
|
|
158
|
-
|
|
159
|
-
#### All browsers - IE8+
|
|
160
|
-
|
|
161
|
-
```html
|
|
162
|
-
<!doctype html>
|
|
163
|
-
<html lang="en">
|
|
164
|
-
<head>
|
|
165
|
-
<meta charset="utf-8">
|
|
166
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
167
|
-
<title>bullframe.css starter template</title>
|
|
168
|
-
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
169
|
-
|
|
170
|
-
<!-- bullframe.css: use latest compiled and minified version -->
|
|
171
|
-
<link
|
|
172
|
-
type="text/css"
|
|
173
|
-
rel="stylesheet"
|
|
174
|
-
href="https://cdn.jsdelivr.net/npm/bullframe.css/dist/css/bullframe.min.css"
|
|
175
|
-
integrity="sha384-HpmTC4+Y1tpRsyC0caOaOtsqEfBQqC12iB2WOT0CAHGE116qurJw2PwlJI62SIUH"
|
|
176
|
-
crossorigin="anonymous">
|
|
177
|
-
|
|
178
|
-
<!-- polyfills: enable HTML5 elements in old browsers, and fix IE10 viewport on Windows 8 -->
|
|
179
|
-
<script
|
|
180
|
-
src="https://cdn.jsdelivr.net/combine/npm/html5shiv@3.7.3,npm/ie10-viewport-bug-workaround.js@1.0.0"
|
|
181
|
-
integrity="sha384-qBVh9Nh9vwp+qqJMBTOrfjBPwz5RMDGc4lscK3+4F6dtIUo89TeUhS9wiDPhgpi5"
|
|
182
|
-
crossorigin="anonymous"
|
|
183
|
-
></script>
|
|
184
|
-
</head>
|
|
185
|
-
|
|
186
|
-
<body>
|
|
187
|
-
<div class="bf-container">
|
|
188
|
-
<!-- Add your site or application content here -->
|
|
189
|
-
<p>Hello world! This is a bullframe.css IE8+ starter template</p>
|
|
190
|
-
</div>
|
|
191
|
-
|
|
192
|
-
</body>
|
|
193
|
-
</html>
|
|
194
|
-
```
|
|
195
|
-
|
|
196
|
-
#### IE11 and modern browsers
|
|
197
|
-
|
|
198
|
-
Improve the JS polyfills security via the `integrity` and `crossorigin` attributes. [Read more](https://stackoverflow.com/questions/32039568/what-are-the-integrity-and-crossorigin-attributes)
|
|
199
|
-
|
|
200
140
|
```html
|
|
201
141
|
<!doctype html>
|
|
202
142
|
<html lang="en">
|
|
@@ -207,17 +147,14 @@ Improve the JS polyfills security via the `integrity` and `crossorigin` attribut
|
|
|
207
147
|
|
|
208
148
|
<!-- bullframe.css: use latest compiled and minified version -->
|
|
209
149
|
<link
|
|
210
|
-
type="text/css"
|
|
211
150
|
rel="stylesheet"
|
|
212
|
-
href="https://cdn.jsdelivr.net/npm/bullframe.css/dist/css/bullframe-ie10+.min.css"
|
|
213
|
-
integrity="sha384-EfcW9YC4HRjVRc1MalllL1YMixPPE9Uu47eUGKvM8mHU+u16QvYZeS5JzLa93lxm"
|
|
214
|
-
crossorigin="anonymous">
|
|
151
|
+
href="https://cdn.jsdelivr.net/npm/bullframe.css/dist/css/bullframe-ie10+.min.css">
|
|
215
152
|
</head>
|
|
216
153
|
|
|
217
154
|
<body>
|
|
218
155
|
<div class="bf-container">
|
|
219
156
|
<!-- Add your site or application content here -->
|
|
220
|
-
<p>Hello world! This is a bullframe.css
|
|
157
|
+
<p>Hello world! This is a bullframe.css starter template</p>
|
|
221
158
|
</div>
|
|
222
159
|
|
|
223
160
|
</body>
|
|
@@ -236,15 +173,13 @@ Click on the links below, and start a new pen in CodePen using bullframe.css.
|
|
|
236
173
|
- [Dark theme](https://codepen.io/pen?template=ExPmzBV)
|
|
237
174
|
- [Dark `prefers-color-scheme`](https://codepen.io/pen?template=NWxjVQO)
|
|
238
175
|
|
|
239
|
-
<br>
|
|
240
|
-
|
|
241
|
-
---
|
|
242
|
-
|
|
243
176
|
## Customization
|
|
244
177
|
|
|
245
178
|
### No classes (class-less)
|
|
246
179
|
|
|
180
|
+
What means "classless"?
|
|
247
181
|
No classes, no utilities. Feel free to add yours and create your custom components.
|
|
182
|
+
Read more on [css-tricks.com](https://css-tricks.com/no-class-css-frameworks/).
|
|
248
183
|
|
|
249
184
|
Just drop the snippet below in the `<head>` of your webpage, and the job is done!
|
|
250
185
|
Write semantic HTML and get nice styles and cross-browser normalization.
|
|
@@ -286,24 +221,13 @@ CDN
|
|
|
286
221
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bullframe.css/dist/css/bullframe-dark-prefers.min.css">
|
|
287
222
|
```
|
|
288
223
|
|
|
289
|
-
### No IE hacks, IE10+
|
|
290
|
-
|
|
291
|
-
I used some IE hacks to fix form elements in IE8 and IE9.
|
|
292
|
-
If you don't like hacks in your (S)CSS code, there are six IE10+ builds (e.g. `bullframe-ie10+.css` or `bullframe-utilities-ie10+.css`) where IE8-9 hacks are removed.
|
|
293
|
-
|
|
294
|
-
CDN
|
|
295
|
-
|
|
296
|
-
```html
|
|
297
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bullframe.css/dist/css/bullframe-ie10+.min.css">
|
|
298
|
-
```
|
|
299
|
-
|
|
300
224
|
### Utilities - Reference
|
|
301
225
|
|
|
302
226
|
A set of utilities to create and customise bullframe.css:
|
|
303
227
|
|
|
304
228
|
#### Grid system
|
|
305
229
|
|
|
306
|
-
|
|
230
|
+
*Breakpoints: 576, 768, 992 and 1200 pixels*
|
|
307
231
|
|
|
308
232
|
| Utility class | Description |
|
|
309
233
|
| ------------- | ----------- |
|
|
@@ -327,40 +251,6 @@ A simple but powerful IE8+ flexible Grid System (+ a Flexbox IE10+ alternative)
|
|
|
327
251
|
| `.bf-col-12` | Sets a floated container with a custom padding and a `width` of `100%` |
|
|
328
252
|
| `.no-gutters` | Set `margin-left`, `margin-right`, `padding-left` and `padding-right` to `0` — to be applied to row and column containers |
|
|
329
253
|
|
|
330
|
-
Breakpoints: 576, 768, 992 and 1200 pixels
|
|
331
|
-
|
|
332
|
-
##### Grid system with Flexbox (IE10+)
|
|
333
|
-
|
|
334
|
-
You may use `/mixins/_mixin-grid-flex.scss` mixins to easily create a Grid System in Flexbox with no extra HTML classes.
|
|
335
|
-
|
|
336
|
-
Add some `margin` as a gutter where needed.
|
|
337
|
-
|
|
338
|
-
``` scss
|
|
339
|
-
// create a Flexbox parent
|
|
340
|
-
@mixin flex-container {
|
|
341
|
-
display: flex !important;
|
|
342
|
-
flex-wrap: wrap !important;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
// Make a child 50% of the width
|
|
346
|
-
@mixin flex-50 {
|
|
347
|
-
flex: 0 0 100% !important;
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
// Make a child 70% of the width
|
|
351
|
-
@mixin flex-70 {
|
|
352
|
-
flex: 0 0 70% !important;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
// Make a child 25% of the width
|
|
356
|
-
@mixin flex-25 {
|
|
357
|
-
flex: 0 0 25% !important;
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
...
|
|
361
|
-
...
|
|
362
|
-
```
|
|
363
|
-
|
|
364
254
|
#### Layout
|
|
365
255
|
|
|
366
256
|
| Utility class | Description |
|
|
@@ -478,7 +368,7 @@ Add some `margin` as a gutter where needed.
|
|
|
478
368
|
| `.bf-h5` | Matches the font styling of a `h5` |
|
|
479
369
|
| `.bf-h6` | Matches the font styling of a `h6` |
|
|
480
370
|
| `.bf-lead` | Sets `font-size` to `125%` |
|
|
481
|
-
| `.bf-responsive-typography` | Scales `font-size` from a minimum of `1.6rem` (AKA 16px) to a maximum of `1.9rem` using `calc` and some `CSS custom properties
|
|
371
|
+
| `.bf-responsive-typography` | Scales `font-size` from a minimum of `1.6rem` (AKA 16px) to a maximum of `1.9rem` using `calc` and some `CSS custom properties` |
|
|
482
372
|
|
|
483
373
|
#### Lists
|
|
484
374
|
|
|
@@ -524,35 +414,18 @@ Add some `margin` as a gutter where needed.
|
|
|
524
414
|
| ------------- | ----------- |
|
|
525
415
|
| `.bf-reduced-motion` | Adds a combinations of properties and values to an element (e.g. the `body`) removing all motion-based animations if preferred by the user, [read more](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion) |
|
|
526
416
|
|
|
527
|
-
<br>
|
|
528
|
-
|
|
529
|
-
---
|
|
530
|
-
|
|
531
417
|
## Browser compatibility
|
|
532
418
|
|
|
533
419
|
### Desktop browsers
|
|
534
420
|
|
|
535
|
-
- IE 8+
|
|
536
421
|
- Latest stable two: Firefox, Chrome, Edge, Safari, Opera
|
|
422
|
+
- IE 11+
|
|
537
423
|
|
|
538
424
|
### Mobile browsers
|
|
539
425
|
|
|
540
|
-
- Latest stable: Firefox, Chrome, Edge, Opera
|
|
541
|
-
- Mobile Safari iOS 7+
|
|
542
|
-
- IE Mobile 11
|
|
543
|
-
|
|
544
|
-
### Proxy browsers
|
|
545
|
-
|
|
546
|
-
- Latest Stable: Opera Mobile’s Turbo mode
|
|
547
|
-
- Latest Stable: Opera Mini
|
|
548
|
-
|
|
549
|
-
You can take a look at the [.browserslistrc](https://github.com/marcop135/bullframe.css/blob/master/.browserslistrc) file for [Autoprefixer](https://github.com/postcss/autoprefixer)
|
|
426
|
+
- Latest stable: Firefox, Chrome, Edge, Opera, Mobile Safari
|
|
550
427
|
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
This project is tested in a wide range of browsers using also [BrowserStack](https://browserstack.com/) live, thanks to the BrowserStack Open Source initiative.
|
|
554
|
-
|
|
555
|
-

|
|
428
|
+
You might take a look at the [.browserslistrc](https://github.com/marcop135/bullframe.css/blob/master/.browserslistrc) file for [Autoprefixer](https://github.com/postcss/autoprefixer)
|
|
556
429
|
|
|
557
430
|
### Screenshots
|
|
558
431
|
|
|
@@ -560,10 +433,6 @@ How can I quickly see if every HTML element works well on all browsers?
|
|
|
560
433
|
|
|
561
434
|
Take a look at some [screenshots and screencasts](https://github.com/marcop135/bullframe.css/tree/master/docs/screenshots-screencasts), organized by rendering engines (blink, gecko, trident, webkit).
|
|
562
435
|
|
|
563
|
-
## Become a sponsor
|
|
564
|
-
|
|
565
|
-
[Sponsor me](https://github.com/sponsors/marcop135) and support my front-end efforts and open source!
|
|
566
|
-
|
|
567
436
|
## Contributors
|
|
568
437
|
|
|
569
438
|
[@englishextra](https://github.com/englishextra) the project is still live thanks to you!
|