/*
* @Author: WJ_LONG
* @Date: 2018-09-06 15:32:06
* @Last Modified by: WJ_LONG
* @Last Modified time: 2018-09-07 16:18:09
* @animation-display-address:https://daneden.github.io/animate.css/ || http://ianlunn.github.io/Hover/
* @Use 公众号
*/ @charset "utf-8";
/* 这里可以用import导入各种库.... 例如:import "./animate.min.css"; */ * {
box-sizing: border-box;
} a {
color: #2d374b;
text-decoration: none
} a:hover {
color: #cd0200;
text-decoration: underline
} em {
font-style: normal
} li {
list-style: none
} img {
border:;
vertical-align: middle
} table {
border-collapse: collapse;
border-spacing: 0
} p {
word-wrap: break-word
} /* 文字 */ .t-white {
color: #fff;
} .t-black {
color: #000;
} .t-blue {
color: #0E639C;
} .t-red {
color: #DD4F43;
} .t-green {
color: #1AA15F;
} .t-yellow {
color: #FFCD42;
} .t-orange {
color: #f18518;
} .t-bold {
font-weight: bold;
} .t-left {
text-align: left;
} .t-center {
text-align: center;
} .t-right {
text-align: right;
} /* 文字换行与不换行 */ .n-word {
word-break: break-all;
} .no-word {
word-break: nowrap;
} /* 背景 */ .bg-blue {
background-color: #038dd8;
} .bg-green {
background-color: #009b4d;
} .bg-yellow {
background-color: #fdd100;
} .bg-orange {
background-color: #f18518;
} .bg-red {
background-color: #d22a31;
} /* 图标 > */ .icon-direction {
width: 1.2em;
height: 1.2em;
padding:;
margin:;
border: 1px solid #000;
border-top: none;
border-left: none;
transform: rotate(-45deg);
} /* 遮罩层-垂直居中 */ .ab-center {
display: flex;
justify-content: center;
align-items: center;
position: absolute;
top:;
bottom:;
left:;
right:;
background-color: rgba(0, 0, 0, .7);
} /* 美化input */ /* <div class="beautiful">
<div class="radio">
<input type="radio" name="Storage" id="model1" checked/>
<label for="model1">iPhone 6s</label>
<input type="radio" name="Storage" id="model2" />
<label for="model2">iPhone 6s Plus</label>
<input type="radio" name="Storage" id="model3" />
<label for="model3">iPhone 7</label>
<input type="radio" name="Storage" id="model4" />
<label for="model4">iPhone 7 Plus</label>
</div> <br> <div class="checkbox">
<input type="checkbox" id="love1" />
<label for="love1">女</label>
<input type="checkbox" id="love2" />
<label for="love2">绘画</label>
<input type="checkbox" id="love3" />
<label for="love3">摄影</label>
<input type="checkbox" id="love4" checked />
<label for="love4">骑行</label>
</div>
</div> */ .beautiful input {
display: none
} .beautiful label {
border: 1px solid #00a4ff;
padding: 2px 10px 2px 5px;
line-height: 28px;
min-width: 80px;
text-align: center;
float: left;
margin: 2px;
border-radius: 4px
} .beautiful input:checked+label {
background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MiA0MiI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9IiMwMGE0ZmYiIGQ9Ik00MiA0MlYuNUwuNSA0MnoiLz48cGF0aCBkPSJNMTkuNCAyNi45bDguNSA4LjUtMi45IDIuOC04LjUtOC41IDIuOS0yLjh6bTE3LTUuN2wyLjggMi44LTE0LjEgMTQuMi0yLjgtMi44IDE0LjEtMTQuMnoiIGZpbGw9IiNmZmYiLz48L3N2Zz4=) no-repeat right bottom;
background-size: 21px 21px;
color: #00a4ff;
} .beautiful .radio, .beautiful .checkbox {
height: 2em;
} /* tab选项卡 */ /* tab选项卡示例代码 */ /* <ul class="tabs t-white">
<li>
<input type="radio" name="tabs" id="tab1" checked />
<label for="tab1" class="bg-green">导航1</label>
<div id="tab-content1" class="tab-content bg-green">
<p>选项卡内容 1fd;lafklsakfldskflaksldfklsa</p>
</div>
</li> <li>
<input type="radio" name="tabs" id="tab2" />
<label for="tab2">导出2</label>
<div id="tab-content2" class="tab-content bg-green">
<p>选项卡内容211f2dsa1f2sa1df2sa1fdsa2fsafdsfsafdsa</p>
</div>
</li> </ul> */ .tabs {
width: 100%;
float: none;
list-style: none;
position: relative;
} .tabs li {
float: left;
width: calc(100%/2);
margin-top: -1%;
text-align: center;
} .tabs input[type="radio"] {
position: absolute;
left: -9999px;
} .tabs label {
display: block;
padding: 1.5em;
border-radius: 2px 2px 0 0;
font-weight: normal;
text-transform: uppercase;
cursor: pointer;
transition: all 0.2s ease-in-out;
background-color: #009b4d;
position: relative;
top: .35em;
} .tabs label:hover {
background-color: #017b3e;
} .tabs .tab-content {
z-index:;
display: none;
overflow: hidden;
width: 100%;
padding: 25px;
background-color: #009b4d;
position: absolute;
top:;
left:;
} .tabs [id^="tab"]:checked+label {
background-color: #017b3e;
} .tabs [id^="tab"]:checked~[id^="tab-content"] {
display: block;
text-align: left;
} /* 表格示例代码 */ /* <div class='table'>
<div class='tr'>
<div class='th th1'>视频</div>
<div class='th th2'>游戏</div>
<div class='th th3'>电视</div> </div> <div class='tr'>
<div class='td td1'>1</div>
<div class='td td2'>2</div>
<div class='td td3'>3</div>
</div> <div class='tr'>
<div class='td td1'>1</div>
<div class='td td2'>2</div>
<div class='td td3'>3</div>
</div> <div class='tr'>
<div class='td td1'>1</div>
<div class='td td2'>2</div>
<div class='td td3'>3</div>
</div>
</div> */ .table {
width: 100%;
} .tr {
width: 100%;
display: flex;
justify-content: space-between;
border-bottom: 1px solid #dadada;
} .tr .th1 {
background-color: #008bd5;
} .tr .th2 {
background-color: #ee8236;
} .tr .th3 {
background-color: #a40081;
} .th, .td {
padding: 10px;
text-align: center;
width: 100%;
} .th {
background-color: #000;
font-size: 1.2em;
color: #fff;
} .td {
font-size: 0.9em;
color: #000;
} .td1, .td2, .td3 {
word-break: break-all;
white-space: normal;
} /* 边框 */ .border-top {
border-top: 1px solid #000;
} .border-right {
border-right: 1px solid #000;
} .border-bottom {
border-bottom: 1px solid #000;
} .border-left {
border-left: 1px solid #000;
} .border {
border: 1px solid #000;
} /* 显示-隐藏 */ .none {
display: none;
} .display {
display: block;
} .none-force {
display: none !important;
} /* 阴影(外部、内部阴影) */ .b-shadow {
box-shadow: #fdd000 0 0 10px;
} .t-shadow {
text-shadow: #ec350c 0 0 20px;
} /* 宽度 */ .w-100per {
width: 100%;
} .w-50per {
width: 50%;
} .h-100per {
height: 100%;
} .w-100vh {
width: 100vh;
} .h-100vh {
width: 100vh;
} /* 用户头像大小 */ .u-80 {
height: 80rpx;
width: 80rpx;
} .u-50 {
height: 50rpx;
width: 50rpx;
} /* 圆角 */ .b-radius-50per {
border-radius: 50%;
} .b-radius-10 {
border-radius: 10px;
} /*
前三分为:中、开始(默认),结束
*/ .f {
display: flex;
} .f-center {
justify-content: center;
} .f-start {
justify-content: flex-start;
} .f-end {
justify-content: flex-end;
} .f-s-b {
justify-content: space-between;
} .f-s-a {
justify-content: space-around;
} .f-no-wrap {
flex-wrap: nowrap;
} .f-wrap {
flex-wrap: wrap;
} /*
垂直居中(针对view先的元素 - align)
*/ .f-align-c {
align-items: center;
} .f-align-s {
align-items: flex-start;
} .f-align-e {
align-items: flex-end;
} .f-algin-b {
align-items: baseline;
} .f-align-stretch {
align-items: stretch;
} /* line-block 和 inline */ .i-line {
display: inline;
} .i-block {
display: inline-block;
} .block {
display: block;
} /* 定位 */ .p-r {
position: relative;
} .p-s {
position: absolute;
} .p-f {
position: fixed;
} .over-flow {
overflow: hidden;
} /* 内边距 */ .p-2per {
padding: 2%;
} .p-l-2per {
padding-left: 2%;
} .p-r-2per {
padding-right: 2%;
} .p-t-2per {
padding-top: 2%;
} .p-b-2per {
padding-bottom: 2%;
} /* 外边距 */ .m-2per {
padding: 2%;
} .m-tb-2per {
margin: 2% 0;
} .m-lr-2per {
margin: 0 2%;
} .m-l-2per {
padding-left: 2%;
} .m-r-2per {
padding-right: 2%;
} .m-t-2per {
padding-top: 2%;
} .p-b-2per {
padding-bottom: 2%;
}

css - 公众号样式的更多相关文章

  1. 微信公众号 访问403问题,样式错乱,js失效

    我服了,还是那个微信公众号小项目. 这个项目用的是ssm+velocity 问题的是,有时候页面加载会乱,js,css都加载不出来. 这个问题也是很久了,前几天开会,那个甲方医院很不开心,说是要找下家 ...

  2. 如何排版 微信公众号「代码块」之 MarkEditor

    前段时间写过一篇文章 如何排版微信公众号「代码块」,讲的是如何使用浏览器插件 Markdown Here 来排版代码块.虽然用 Markdown Here 排版出来的样式还不错,但存在一个问题,就是代 ...

  3. 公众号的Markdown排版利器:Md2All

    微信公众号:颜家大少如有问题或建议,请公众号留言 本文所用排版工具:Md2All,http://md.aclickall.com 公众号排版工具 公众号的排版编辑工具还真的不少,但功能大同小异,大部分 ...

  4. 如何自定义CSS滚动条的样式?

    欢迎大家前往腾讯云+社区,获取更多腾讯海量技术实践干货哦~ 本文由前端林子发表 本文会介绍CSS滚动条选择器,并在demo中展示如何在Webkit内核浏览器和IE浏览器中,自定义一个横向以及一个纵向的 ...

  5. HTML5仿微信公众号界面

    jQuery连接: https://pan.baidu.com/s/1Qj948NPMDmcqzcMyKm8nMw 密码:vewr 图片连接: https://pan.baidu.com/s/1Fha ...

  6. 关于微信公众号内嵌网页的几个meta标签

    最近在做微信公众平台内嵌app,其实也就是web app="=,不过就是基于微信内置浏览器(safari加了一个WeixinJS对象),稍微记一下几个html的meta标签(web app通 ...

  7. 微信公众号开发C#系列-12、微信前端开发利器:WeUI

    1.前言 通过前面系列文章的学习与讲解,相信大家已经对微信的开发有了一个全新的认识.后端基本能够基于盛派的第三方sdk搞定大部分事宜,剩下的就是前端了.关于手机端的浏览器的兼容性问题相信一直是开发者们 ...

  8. 玩转公众号markdown排版

    Md2All 简介 Markdown排版利器,支持 "一键排版" 的样式模板选择,支持"css样式自定义",支持80多种代码高亮. 能让Markdown内容,无 ...

  9. 微信支付-公众号支付H5调用支付详解

    微信公众号支付 最近项目需要微信支付,然后看了下微信公众号支付,,虽然不难,但是细节还是需要注意的,用了大半天时间写了个demo,并且完整的测试了一下支付流程,下面分享一下微信公众号支付的经验. 一. ...

随机推荐

  1. P1489 猫狗大战

    P1489 猫狗大战 题目描述 新一年度的猫狗大战通过SC(星际争霸)这款经典的游戏来较量,野猫和飞狗这对冤家为此已经准备好久了,为了使战争更有难度和戏剧性,双方约定只能选择Terran(人族)并且只 ...

  2. django自带的orm之查询

    一.filter条件查询 用法: 模型类.objects.filter(模型类属性名__查询操作符 = 值) 判等: exact # 例:查询id为1的员工 select * from employe ...

  3. docker run 的背后的故事(zz)

    当利用docker run来创建并启动容器的时候,docker后台标准的操作包括: 1.检查本地是否存在指定的镜像,不存在就从公有仓库下载. 当我依瓢画葫芦的运行: sudo docker run - ...

  4. Appscan计划扫描与扩展程序

    计划扫描:工具-->扫描调度程序 或者参考:http://pic.dhe.ibm.com/infocenter/apsshelp/v8r6m0/topic/com.ibm.help.common ...

  5. 奶牛与农夫John与oj

    当蒟蒻的我悲惨的发现oj出现大量的奶牛与农夫时,觉得早晚usaco要占领oj,于是绝望的开始记录农夫与奶牛的题目……. 一道usaco月赛的题…在oj用作练习二维数组,虽然数据的大量字符确实很让人不爽 ...

  6. Javascript 行为委托

    JavaScript 与C++,Java的面相对象编程的语言不同.就像不懂Linux人,会创造一个蹩脚的linux一样.一些JavaScript的编程总在尝试利用JavaScript 去模拟传统的面向 ...

  7. WordPress插件扫描工具plecost

    WordPress插件扫描工具plecost   WordPress是PHP语言开发的博客平台.该平台允许用户通过插件方式扩展博客功能.由于部分插件存在漏洞,给整个网站带来安全风险.Kali Linu ...

  8. [Codeforces 19E] Fiary

    Brief Intro: 给定一个无向图,询问删去哪条边能使得剩下的图为一个二分图,输出所有结果 Algorithm: 关于二分图的重要性质:一个图为二分图的充要条件为其中没有奇环 1.如果没有奇环, ...

  9. 【分块打表】Gym - 100923K - Por Costel and the Firecracker

    semipal.in / semipal.out Por Costel the pig, our programmer in-training, has recently returned from ...

  10. 【树链剖分】【线段树】bzoj3083 遥远的国度

    记最开始的根为root,换根之后,对于当前的根rtnow和询问子树U而言, ①rtnow==U,询问整棵树 ②fa[rtnow]==U,询问除了rtnow所在子树以外的整棵树 ③rtnow在U的子树里 ...