Boa tarde ,
Na página queria q ficasse dividida com 2 backgrounds totalizando o body todo exemblo:
lado a imagem a lado b imgem b body com background (a+b)
cada lado tera um botao como fazer?
segue o código:
.img-logo {
height: 68px;
width: 185px;
display: block;
background: url('img/zem.png') no-repeat;
background-size: contain;
color: transparent;
}
nav.navbar-transparente {
padding:2px;
background: white;
display: block;
}
.navbar-brand{
padding: 0px 6px;
}
/* ---------------- FOOTEER -----------------------------------------------*/
.outro {
background-color: #F7F7F9;
}
#myFooter {
background-color: #373a48;
color:white;
}
#myFooter .footer-copyright{
background-color: #383737;
padding-top:3px;
padding-bottom:3px;
text-align: center;
}
#myFooter .footer-copyright p{
margin:10px;
color: #ccc;
}
#myFooter ul{
list-style-type: none;
padding-left: 0;
line-height: 1.7;
}
#myFooter a{
color:#d2d1d1;
text-decoration: none;
}
#myFooter a:hover, #myFooter a:focus{
text-decoration: none;
color:white;
}
#myFooter .myCols{
text-align: center;
}
#myFooter .social-networks{
text-align: center;
padding-top: 30px;
padding-bottom: 38px;
}
#myFooter .social-networks a{
font-size: 32px;
margin-right: 5px;
margin-left: 5px;
color: #f9f9f9;
padding: 10px;
transition: 0.2s;
}
#myFooter .social-networks a:hover{
text-decoration: none;
}
#myFooter .facebook:hover{
color:#0077e2;
}
#myFooter .google:hover{
color:#ef1a1a;
}
#myFooter .twitter:hover{
color: #00aced;
}
@media screen and (max-width: 767px){
#myFooter {
text-align: center;
}
}
body{
background: #55ACEE;
font-family: Helvetica,Arial,sans-serif;
overflow-x: hidden;
}
.flip {
-webkit-perspective: 800;
width:600px;
height: 600px;
position: relative;
margin: 50px auto;
}
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title> Zem </title>
<link rel="icon" href="img/favicon.ico">
<!-- Bootstrap -->
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="estiloacesse.css" rel="stylesheet">
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body protegercodigo() >
<nav class="navbar navbar-default navbar-fixed-top navbar-transparente">
<div class="container">
<!-- header -->
<div class="navbar-header">
<!-- botao toggle -->
<button type="button" class="navbar-toggle collapsed"
data-toggle="collapse" data-target="#barra-navegacao">
<span class="sr-only">alternar navegação</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="home.html" class="navbar-brand">
<span class="img-logo"></span>
</a>
</div>
<!-- navbar -->
<div class="collapse navbar-collapse" id="barra-navegacao">
<ul class="nav navbar-nav navbar-right">
<li><a href=""><h4>Corporativo</h4></a></li>
<li><a href="contato.html"><h4>Contato</h4></a></li>
<li><a href=""><h4>Quem Somos</h4></a></li>
<li><a href=""><h4>Acesse</h4></a></li>
</ul>
</div>
</div><!-- /container -->
</nav><!-- /nav -->
<br><br><br>
<div class="container">
<div class="row">
<div class="col-md-6">
<div class="flip">
<div class="card" id="card1">
<div class="card-block">
<h3 class="card-title">Special title treatment</h3>
<p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
</div>
<div class="col-md-6">
<div class="flip">
<div class="card" id="card2">
<div class="card">
<div class="card-block">
<h3 class="card-title">Special title treatment</h3>
<p class="card-text">With supporting text below as a natural lead-in to additional content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<br>
<br>
<footer id="myFooter">
<div class="container">
<div>
<div class="col-sm-12 myCols">
<br>
<div class="social-networks">
<a href="#" class="twitter"><i class="fa fa-twitter"></i></a>
<a href="#" class="facebook"><i class="fa fa-facebook-official"></i></a>
<a href="#" class="google"><i class="fa fa-google-plus"></i></a>
</div>
</div>
</div>
</div>
<div class="footer-copyright">
<p>© 2017 Sou Zem | Todos os direitos reservados.</p>
</div>
</footer>
</body>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="bootstrap/js/bootstrap.min.js"></script>
<script src="npm.js"></script>
<script type="text/javascript">
function protegercodigo() {
if (event.button==2||event.button==3){
alert('Codigo protegido!');}
}
document.onmousedown=protegercodigo
</script>
</html>