/*
* @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. 获取mac地址和IP地址方式

    第一种 public class OperateMAC{ public static string GetMacByWMI() { string MacAddr = null; //Managemen ...

  2. 使用Postman访问OAuth2保护的WebAPI

    Instantnoodle现时的WebAPI已经受Azure AD保护,平时直接输入URL的方式已经不能够正常访问到WebAPI 所有API都可以Swagger页面找到 http://getazdev ...

  3. centos6.5 403 Forbidden 设置了777还是不行

    Forbidden You don't have permission to access /liuyanben/install on this server. Apache/2.2.15 (Cent ...

  4. HDU 6324.Problem F. Grab The Tree-博弈(思维) (2018 Multi-University Training Contest 3 1006)

    6324.Problem F. Grab The Tree 题目看着好难,但是题解说的很简单,写出来也很简单.能想出来就是简单的,想不出来就难(讲道理,就算是1+1的题目,看不出来就是难的啊). 和后 ...

  5. Java学习之路(书籍推荐)

    一.基础类 1.<Thinking in java>(阅读2遍),入门第一位是建立正确的概念 2.<Core Java>这本书更贴近实践,更多API的介绍,同样,更新也更频繁. ...

  6. POJ 2492 A Bug's Life【并查集高级应用+类似食物链】

    Background Professor Hopper is researching the sexual behavior of a rare species of bugs. He assumes ...

  7. 1953 Problem B #103. 子串查找

    #include<stdio.h> #include<string.h> main() { char a[100],b[100]; int n,k,i; gets(a); ge ...

  8. sqlldr Field in data file exceeds maximum length "

    使用sqlldr导数时出现如下错误: " Record 1: Rejected - Error on table PC_PLANNAME, column PLANNAME.Field in ...

  9. 数据结构-二叉搜索树(BST binary search tree)

    本文由@呆代待殆原创,转载请注明出处:http://www.cnblogs.com/coffeeSS/ 二叉搜索树简介 顾名思义,二叉搜索树是以一棵二叉树来组织的,这样的一棵树可以用一个链表数据结构来 ...

  10. 关于两数的最大公约数gcd

    深根半夜里研究C++的语法,在弄到关于函数的定义 这一部分时突然想写个试试,就拿比较熟悉的gcd来好了. 活这么久gcd一直是用辗转相除法(或者说欧几里得算法)得出的,根据<算法导论>第三 ...