Slider Text
#slText{
position:Absolute;
top:0px;
left:0px;
width:100%;
height:100%;
z-index:50;
}
#slText .cont {
width:100%;
height:100%;
max-width:1100px;
margin:auto;
position:relative;
display: -webkit-flex;
display: flex;
-webkit-flex-direction: column;
flex-direction: column;
-webkit-align-items: flex-start;
align-items: flex-start;
-webkit-justify-content: center;
justify-content: center;
}
#slText .cont h1{
font-weight:300;
color:#222;
font-size:3em;
display:inline-block;
line-height:1em;
margin-bottom:5px;
clear:both;
float:left;
width:45%;
}
#slText .cont p{
font-weight:300;
color:#222;
font-size:1.2em;
padding:20px 0px;
display:inline-block;
line-height:1.5em;
margin-bottom:5px;
clear:both;
float:right;
width:35%;
}
#slText .cont a{
font-weight:300;
color:#fff;
font-size:1em;
float:right;
clear:both;
padding:15px 10px;
display:block;
line-height:1em;
margin-bottom:5px;
background:rgba(38,80,148,0.8);
text-decoration:none;
width:140px;
text-align:center;
}
<div id="slText">
<div class="cont">
<h1>Good health starts with healthy teeth & gums</h1>
<p>We believe our patients deserve only the best, and our staff works hard to deliver a superior experience at every visit</p>
<a href="http://www.toombulsmiles.com.au/services_&_procedures.html">Learn more</a></div>
</div>