随笔分类 - css
摘要:Postcss 简明教程 及 css module - 掘金 https://juejin.cn/post/6862371071115558926 PostCSS - 是一个用 JavaScript 工具和插件来转换 CSS 代码的工具 | PostCSS中文网 https://www.postcs
阅读全文
摘要:<svg id="shape" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 29 16" shape-rendering="geometricPrecision"
阅读全文
摘要:CSS Color Adjustment Module Level 1 https://drafts.csswg.org/css-color-adjust-1/ DarkMode 适配指南 | 微信开放文档 https://developers.weixin.qq.com/doc/offiaccou
阅读全文
摘要:BEM(Block–Element-Modifier)
阅读全文
摘要:待优化 优化点: 1、content的位置和显示与遮挡的部分; 2、商品选项的高度统一; 间距调整
阅读全文
摘要:margin 依附于可见的内容,不能为margin而写margin <!DOCTYPE html><html><head><style> p{margin:20px 0;}</style></head><body><p>第-1个段落。</p><p></p><p>第一个段落。</p><p>第二个段落。
阅读全文
摘要:账户余额 ? ¥ {{apiRes.AccountBalance['1'].val}} 币 充值金额 {{index===0 ? ' ': '送'+item[1]+'币'}...
阅读全文
摘要:<!DOCTYPE html><html><head><style> p{float:right;}</style></head><body><p>第一个段落。</p><p>第二个段落。</p><p>第三个段落。</p></body></html>
阅读全文
摘要:账户余额 ? ¥ {{apiRes.AccountBalance['1'].val}} 币 充值金额 ...
阅读全文
摘要:mixin 在传参中可以出现 参数 在类内部可以定义
阅读全文
摘要:<!DOCTYPE html><html><head><style> p:nth-last-child(2){background:#ff0000;}</style></head><body> <h1>这是标题</h1><p>第一个段落。</p><p>第二个段落。</p><p>第三个段落。</p><
阅读全文
摘要:display block 是否提倡
阅读全文
摘要:<script> import wepy from 'wepy' import api from '../api/api' export default class recharge extends wepy.page { config = { navigationBarTitleText: '账户
阅读全文
摘要:.pay-type_select-after, .amount-item_select-after { padding: 0; border: @wx-width-one_unit solid @color-main_blue; @v: @wx-width-one_unit*24; &:after { display: block; ...
阅读全文
摘要:<style lang="less"> @import "../style/weui.wxss"; // WXSS · 小程序 https://developers.weixin.qq.com/miniprogram/dev/framework/view/wxss.html @wx-width: 7
阅读全文
摘要:.pay-type { // 图片布局前通过margin负值去除padding margin: 0 -@page-padding-horizontal; display: inline-flex; } <style lang="less"> @import "../style/weui.wxss";
阅读全文
摘要:<style lang="less"> @import "../style/weui.wxss"; @wx-width: 750rpx; @wx-width-one_unit: @wx-width/750; @color-main-red: #f00; @color-main-blue: #2CAB
阅读全文
摘要:<!DOCTYPE html><html><style type="text/css">.c{color:red;}.c{color:green;}</style><body><p class="c">123</p></body></html>
阅读全文
摘要:语言特性 | Less 中文网 http://lesscss.cn/features/#mixins-feature Mixins Mixins "mix-in" properties from existing styles You can mix-in class selectors and i
阅读全文

浙公网安备 33010602011771号