-
## CVE-2021-23368 - Medium Severity Vulnerability
Vulnerable Library - postcss-7.0.35.tgz
Tool for transforming styles with JS plugins
Library home page: https://registry.npmjs.org/postcss/-/postcss…
-
So I'm using external `.pcss` files for housing global styles for example the below;
```css
// global.pcss
@tailwind base;
@tailwind components;
@tailwind utilities;
html, body {
@apply bg-…
-
# I'm submitting a
- [ ] Bug report
- [x] Feature request
- [ ] Performance issue
- [ ] Regression (a behavior that used to work and stopped working in a new release)
- [ ] Documentat…
-
为什么按照文档引用组件后,样式大了一倍
-
# 一、是什么
babel插件
## 1.1 Slogon
> Full, scoped and component-friendly CSS support for JSX (rendered on the server or the client).
### 1. 功能齐全(full)
支持CSS全部的功能,没有阉割CSS。
### 2. 封装的(scoped)
保证了写…
-
## Describe the feature
It would be nice to have some form of RTL support for the library. For example, you can see how [react native web](https://github.com/necolas/react-native-web/blob/master/do…
-
```
precss:modules.css:19:23: Could not resolve the variable "$name" within "button $name, $color"
17 | }
18 |
> 19 | @define-mixin button $name, $color {
| ^
20…
-
![image](https://user-images.githubusercontent.com/24459069/103161961-b9504480-4824-11eb-8bf6-3ac16eeaf064.png)
-
The roadmap:
- [ ] finalize the API (almost done)
- [ ] complete the docs
- [ ] describe the usage with different frameworks and libraries
- [ ] React
- [ ] Preact
- [ ] Vue
…
-
# rem适配
# 1rem 当前设计稿像素/10
比如750 1rem就是75px 通过less变量
```css
.rem(@height,@value){
@{height}:@value/75
}
.box{
background-color: #f00;
.rem(width,375);
.rem(heigh…