/*
* @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. layer close 关闭层IE9-浏览器崩溃问题解决

    针对ayer弹出层在IE上关闭导致浏览器崩溃的问题: 导致原因: 查看src源码,layer.close关闭总方法中有这么一行: layer.close = function(index){ ] + ...

  2. 《Java编程思想》笔记 第十章 内部类

    1.创建内部类对象 创建内部类对象(相当于new内部类对象) 外围类对象.new 内部类( ). 创建内部类对象一种方法是 外围类有一个方法返回内部类对象. 没有外围类对象就不能创建内部类对象,因为内 ...

  3. 怎么在32位windows系统上搭建爬虫框架scrapy?

    禁止转载: 自学python,然后搭建爬虫框架scrapy.费了我一上午的心血.终于搭建成功,以防以后忘记搭建流程,特此撰写此贴,开写 ******************************** ...

  4. mysql主从怎么样使主为innodb辅为myisam

    MySQL主从复制(linux主+windows从) http://blog.csdn.net/qq_20032995/article/details/54380290 mysql主从怎么样使主为in ...

  5. 关于ofbiz加载数据模块的文件参数配置

    1,在applications文件夹下新建一个数据模块meetingroom 2, 要让ofbiz加载这个数据模块就需要在applications下的配置文件里修改参数 (1)在application ...

  6. hit2739

    好题,回路的问题一般都要转化为度数来做若原图的基图不连通,或者存在某个点的入度或出度为0则无解.统计所有点的入度出度之差di对于di>0的点,加边(s,i,di,0):对于di<0的点,加 ...

  7. django static文件的引入方式(转)

    1. 在django project中创建 static文件夹 2.settings.py中配置要在 STATIC_URL = '/static/'  下边 STATICFILES_DIRS = [ ...

  8. HDU 2586.How far away ?-离线LCA(Tarjan)

    2586.How far away ? 这个题以前写过在线LCA(ST)的,HDU2586.How far away ?-在线LCA(ST) 现在贴一个离线Tarjan版的 代码: //A-HDU25 ...

  9. 洛谷——P1152 欢乐的跳

    P1152 欢乐的跳 题目描述 一个n个元素的整数数组,如果数组两个连续元素之间差的绝对值包括了[1,n-1]之间的所有整数,则称之符合“欢乐的跳”,如数组1 4 2 3符合“欢乐的跳”,因为差的绝对 ...

  10. ( 转 ) mysql复合索引、普通索引总结

    对于复合索引:Mysql从左到右的使用索引中的字段,一个查询可以只使用索引中的一部份,但只能是最左侧部分.例如索引是key index (a,b,c). 可以支持a | a,b| a,b,c 3种组合 ...