1.0.2 • Published 2 years ago

@downehr/ws-scss-mixins v1.0.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

Websquid SCSS Mixins

Hello! I have no idea how you found this, but you're more than welcome to use this. I've made this to easier import my own small SCSS mixins, helpers and such between my projects.

How to use

To use the mixins import the main.scss-file in your project like this:

@import "~@downehr/ws-scss-mixins/main.scss";
// or you may have to import it like this
@import "node_modules/@downehr/ws-scss-mixins/main.scss";

Breakpoints (screen size media queries)

All breakpoint sizes

class namesize
ws-sm576px
ws-md768px
ws-lg992px
ws-xl1200px
ws-xxl1400px

Example

p {
	// Default font size for 0< screen size
	font-size: 1.3rem;
	line-height: 1.125;

	@include  ws-md {
		// 768px and above
		font-size: 1.8rem;
	}

	@include  ws-lg {
		// 992px and above
		font-size: 2rem;
	}
}
1.0.2

2 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.0.1

3 years ago