cube icon indicating copy to clipboard operation
cube copied to clipboard

跨终端、响应式、低设计耦合的CSS解决方案

Results 15 cube issues
Sort by recently updated
recently updated
newest added

1.3.2 版本的 NPM 包不知道为啥没有 readme.md。

# Cube 2.0 规划 ## 一、背景介绍 一直以来,我是一个 CSS「原教徒」,信奉简单直接的 CSS。但是在实际开发中,CSS 的确是缺少很多「可编程」的功能。所以在 Cube 1.0 技术选型上,我选择了以原生 CSS 为主,预处理器为辅的思路。基本架构是原生 CSS,但 iconfont 这个强烈需要可编程的模块选择了 SCSS。 ### 1.1 CSS 预处理器的兴起 随着 CSS 社区的发展,CSS 预处理从无到有。现如今已是百花齐放,这是一件令人欣慰的事情。简单看一下 CSS 预处理器的发展历程: 1....

自由连字,标准连字等 http://kennethormandy.com/journal/normalize-opentype-css

iOS input 默认顶部有内阴影 http://zomigi.com/blog/bug-fixes-for-removing-the-inner-shadow-on-ios-inputs/ ``` css input[type="text"] { -webkit-appearance: none; } ```

## cube 兼容所有浏览器的做法是在所有需要锚点的位置生成一个空标签 ``` html 标题…… ``` ## type.css 高级浏览器提供CSS方法修复锚点定位,并提供提醒动画。

``` css q:lang(zh){ quotes: "\300C" "\300D" "\300E" "\300F"; /* quotes: "「" "」" "『" "』"; */ } cite:lang(zh){ quotes: "《" "》" "〈" "〉"; font-style: normal; } cite:before { content: open-quote; }...

考虑去除默认的 padding ``` css input[type="button"], input[type="submit"], input[type="reset"], input[type="file"]::-webkit-file-upload-button, button { padding: 1px 6px; } ```

About small triangle Maybe, you can do more