-
Olá pessoal! Tudo bem?
Por favor, gostaria de saber quais são as recomendações de boas práticas na hora de utilizar o **CSS**, por exemplo, o PHP tem a PSR. Como é no CSS?
Abração a todos!
-
在設定 css 的時候,因爲我們大部分都是採用 scss + compass ,有幾個地方需要注意,
- 檔名請以負責範圍爲主,ex, 請不要使用 `_top.scss`, 而是採用 `_topNav.scss`
- class 命名,請以 `-` 分開,全部使用小寫, ex, `container-top-nav`, `container-inner-wrap`
- 如果要採用 `css3` …
clonn updated
9 years ago
-
### Description
Hi
I pass you some improvements for the file subcategories.tpl to add webp and lazyload
` {if !empty($subcategory.image.small.url)}
{images…
-
https://github.com/aerogo/scarlet/blob/44644fc531f055a0f2e7f89bee8325794d843bf8/CSSRule.go#L151
Is this desirable? Obviously this behaviour does, in many cases, preclude utilising statement precede…
-
> 上个星期,制定的前端开发规范,今天抽查了css规范的执行;发现了很多问题
## 引入了css 模块化思想,可以接受少量的代码冗余,但不表示可以接受大面积的代码冗余。
### 表现症状1
``` css
.footer .home-icon:before{background-position:1px -166px;width: 42px;height: 40px;margin: 8px 0 …
mishe updated
8 years ago
-
I've been using the "sunny" version of CSScaffold, and loving it. I'm very interested in the current rewrite that is underway. Is there documentation somewhere that highlights the reasons and goals fo…
-
The following style:
h1, h2 {font-face: Verdana;}
h1 {font-size: 2.1em;}
h2 {font-size: 1.8em;}
does prompt a warning due to the recommendation that one should only define H elements only once in a …
-
# Airbnb CSS / Sass编码规范
*这可能是最合理的编写CSS和Sass代码的方式了*
译自:https://github.com/airbnb/css
## 目录
1. [术语](#terminology)
- [规则声明](#rule-declaration)
- [选择器](#selectors)
- [属性](#pro…
-
Rplus updated
8 years ago
-
Eu amo Atomic Design, mas talvez possamos usar outra coisa mais difundida para facilitar a integração de futuros desenvolvedores quando o projeto escalar ;)
Algumas opções:
http://slides.com/ridjoha…