<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css">
.lock:after {
content: "\f023";
font-family: FontAwesome;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
color: rgba(255, 255, 255, 0.85);
z-index: 99;
font-size: 5em;
margin-top: 115%;
text-align: center;
}
.lock:before {
content: "";
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.67);
position: absolute;
top: 0;
left: 0;
z-index: 10;
}
Para bloquearlo:
$(".miCapa").addClass("lock"); // Al elemento q se añada debe tener position:relative
ResponderEliminarhttps://www.welookups.com/css/default.html