---
title: "common css公共"
author: "wyr123789"
date: "2020-05-06T11:35:37Z"
tags: []
categories: ["移动开发"]
slug: "common-css"
draft: false
lastmod: "2017-03-15T15:52:53Z"
id: 2363336
url: "https://wyr123789.iteye.com/blog/2363336"
---

/*遮罩层*/
.shadow{
position: fixed;
top: 0;
left: 0;
z-index: 100;
width: 100%;
height: 100%;
background: rgba(0,0,0,.5) repeat;
}

/*黑底白字提示框*/
.mobil{
text-align: center;
background-color: rgba(0,0,0,0.5);
color: #fff;
border: none;
border-radius: 5px;
width: 84%;
line-height: 2rem;
position: fixed;
right: 50%;
left: 9%;
bottom: 50%;
}