最新发布 第493页

完竣世界-关注前端分享心得

python

mac Flask框架安装

mac Flask框架安装
pip3 install Flask 或者使用阿里云的源进行安装 pip3 install -i https://mirrors.aliyun.com/pypi/simple flask ...

4年前 (2021-08-20) 喜欢

js

JavaScript版本

JavaScript版本
ES5 ES3 支持目前所有主流浏览器 没有ES4 ES6=ES2015目前浏览器不支持,未来会支持。 ES2016 就是 (ES7) ES2017 就是 (ES8) ...

4年前 (2021-08-20) 喜欢

css

Scss @debug

Scss @debug
@debug 在 Sass 中是用来调试的,当你的在 Sass 的源码中使用了 @debug 指令之后,Sass 代码在编译出错时,在命令终端会输出你设置的提示 Bug: @debug 10em + 12em; 会输出: Line 1 DEBUG: 22em ...

4年前 (2021-08-20) 喜欢

css

Scss @error

Scss @error
@error 和 @warn、@debug 功能是如出一辙。 @mixin error($x){ @if $x < 10 { width: $x * 10px; } @else if $x == 10 { width: $x; } @else {...

4年前 (2021-08-20) 喜欢

css

Scss 跳出根元素

Scss 跳出根元素
@at-root 从字面上解释就是跳出根元素。当你选择器嵌套多层之后,想让某个选择器跳出,此时就可以使用 @at-root。 .a { color: red; .b { color: orange; .c { color: yellow; ...

4年前 (2021-08-20) 喜欢

css

Scss @extend

Scss @extend
Sass 中的 @extend 是用来扩展选择器或占位符。比如: .error { border: 1px #f00; background-color: #fdd; } .error.intrusion { background-image: url("/...

4年前 (2021-08-20) 喜欢