Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/39.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Twitter bootstrap 针对10'的响应性网页设计';和12'';_Twitter Bootstrap_Css_Twitter Bootstrap 3_Responsive Design - Fatal编程技术网

Twitter bootstrap 针对10'的响应性网页设计';和12'';

Twitter bootstrap 针对10'的响应性网页设计';和12'';,twitter-bootstrap,css,twitter-bootstrap-3,responsive-design,Twitter Bootstrap,Css,Twitter Bootstrap 3,Responsive Design,我有一个网页,但有10英寸和12英寸屏幕的问题。一些标记向下滑动,不适合页面。您可以在下面的示例中进行检查。(导航到右侧的联系人)我如何使他们适合每个解决方案 提前感谢并致以最良好的问候 以下是联系人部分: <!-- Contact Section --> <section id="contact" data-direction="from-right"> <div class="container"> <

我有一个网页,但有10英寸和12英寸屏幕的问题。一些标记向下滑动,不适合页面。您可以在下面的示例中进行检查。(导航到右侧的联系人)我如何使他们适合每个解决方案

提前感谢并致以最良好的问候

以下是联系人部分:

<!-- Contact Section -->
    <section id="contact" data-direction="from-right">
        <div class="container">
            <h1>
                <span>Contact</span>
            </h1>
            <!-- ./End Section Title -->
            <a href="#" class="close"></a>
            <div class="row">
                <div class="col-md-8 col-md-offset-2">
                    <h4>Just want to say hello? Send us an email or fill out the form below and we will get back to you ASAP.</h4>
                    <!-- Begin Phone -->
                    <div class="newline col-sm-3 text-center">
                        <i class="fa fa-mobile fa-2x"></i>
                        <br>
                        +90 (530) 1407342
                    </div>
                    <!-- End Phone -->
                    <!-- Begin Email -->
                    <div class="newline col-sm-3 text-center">
                        <i class="fa fa-envelope-o fa-2x"></i>
                        <br>
                        info@ioterm.com
                    </div>
                    <!-- End Email -->
                    <!-- Begin Address -->
                    <div class="newline col-sm-3 text-center">
                        <i class="fa fa-home fa-2x"></i>
                        <br>
                        IOTERM
                        <br>
                        İstanbul, Turkey.
                    </div>
                    <!-- End Address -->
                    <!-- Begin Address -->
                    <div class="newline col-sm-3 text-center">
                        <i class="fa fa-home fa-2x"></i>
                        <br>
                        IOTERM
                        <br>
                        Boston, USA.
                    </div>
                    <!-- End Address -->
                    <div class="clearfix"></div>
                    <div class="contactForm">
                        <!-- Start Contact Form -->
                        <form id="contactForm" action="#" method="post" role="form">

                            <div class="col-lg-6 col-xs-12">
                                <div class="form-group">
                                    <input id="formName" type="text" class="input required" name="name" placeholder="Your name">
                                </div>
                                <div class="form-group">
                                    <input id="formEmail" type="email" class="input required" name="email" placeholder="Email address">
                                </div>
                                <div class="form-group">
                                    <input id="phone" type="text" placeholder="Phone" value="" size="30" name="phone">
                                </div>
                            </div>

                            <div class="col-lg-6 col-xs-12">
                                <div class="form-group">
                                    <textarea id="message" class="textarea required" name="message" rows="3" cols="40" placeholder="Your question"></textarea>
                                </div>
                                <button value="Submit" id="submit" class="btn btn-green-border btn-lg" type="submit">Send</button>
                            </div>

                        </form>
                        <div class="successMsg"></div>
                        <!-- End Contact Form -->
                    </div>
                </div>
            </div>
        </div>
    </section>
    <!-- End Contact Section -->
编辑1:我认为这是由于bootstrap.min.cs。这是渲染的联系人部分

<section id="contact" data-direction="from-right" class="active" style="left: 0px; z-index: 2;">
<div class="container">
<h1>
<a href="#" class="close"/>
<div class="row">
<div class="col-md-8 col-md-offset-2">
<h4>Just want to say hello? Send us an email or fill out the form below and we will get back to you ASAP.</h4>
<div class="newline col-sm-3 text-center">
<div class="newline col-sm-3 text-center">
<div class="newline col-sm-3 text-center">
<div class="newline col-sm-3 text-center">
<div class="clearfix"/>
<div class="contactForm">
</div>
</div>
</div>
</section>

只是想打个招呼?发送电子邮件或填写以下表格,我们会尽快回复您。

能否向我们展示您的代码(仅相关代码),以便我们了解您是否犯了错误或其他错误。很好,您提供了一个工作示例,但为了帮助您,我们需要您的代码来控制工作不正常的部分。您好@Vinc199789,我添加了标记和CSS。希望你能帮助我。
@charset "utf-8";
/*
  RESET
  CUSTOM STYLE
  PRELOADER
  BUTTON
  HEADER
  TYPOGRAPHY
  SECTIONS
  CLOSE BUTTON
  SUBSCRIBE & CONTACT FORM
  ANIMATION
  RESPONSIVE
*/

/*======================== RESET ========================*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}
ins {
    text-decoration: none;
}
del {
    text-decoration: line-through;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
a {
    text-decoration: none;
    background: transparent;
}
a:focus {
    outline: thin dotted;
}
a:hover, a:active {
    outline: 0;
  text-decoration: none;
}
svg:not(:root) {
    overflow: hidden;
}
img {
    border: 0;
}
button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
    margin: 0;
    max-width: 100%;
}
html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    height: 100%;
}
img {
    max-width: 100%;
}
.clearfix:before, .clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

/*======================== CUSTOM STYLE ========================*/
body {
    font-family: 'Raleway', sans-serif;
    font-weight: normal;
    font-size: 16px;
    word-spacing: normal;
    height: 100%;
    min-height: 100%;
    color: #333;
    background-size: 100% 100%;
    margin: 0;
    overflow: hidden;
    border: 20px solid #fff;
}
a img {
    border: 0
}
a {
    color: #999999;
    text-decoration: none;
}
a:active, a:focus, a:hover {
    outline: 0;
  text-decoration: none;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
a:hover {
    text-decoration: none;
}
img {
    border: 0;
    vertical-align: middle;
    -ms-interpolation-mode: bicubic;
}
form {
    margin: 0;
}
button, input, textarea {
    border-radius: 0;
    font-size: 14px;
    margin: 0;
    max-width: 100%;
    vertical-align: baseline;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
button, input {
    line-height: normal;
}
button, input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}
textarea {
    overflow: auto;
    vertical-align: top;
}

.clearfix {
    clear: both;
    float: none;
}
.bg-overlay {
    background: url(../images/overlay.png) repeat;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: -1;
}
.logo{

    background: url(../images/fb-cover-1237-8748794.jpg) no-repeat center;


}
/* No JS */
.no-js #preload {
    display: none;
}
/* KENBURNS STYLES
-------------------------------------------------------*/
.kenburnsy {
position: relative;
overflow: hidden;
width: 100%;
}
.kenburnsy.fullscreen {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: -1;
}
.kenburnsy img {
display: none;
}
.kenburnsy .slide {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
transform-origin: center;
transform: translateZ(0);
}

/*======================== PRELOADER ========================*/
.preload * {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
  transition: none !important;
}
#preload {
    background-color: #000;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 998;
}
#preload-content {
    width: 100px;
    height: 100px;
    margin-left: -50px;
    margin-top: -50px;
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 999;
}
.preload-bounce {
    margin: 0 auto 15px;
    text-align: center;
}
.bounce1, .bounce2, .bounce3, .bounce4 {
    -webkit-animation-name: pbounce;
    -webkit-animation-duration: 1.4s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-fill-mode: both;
    -moz-animation-name: pbounce;
    -moz-animation-duration: 1.4s;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: ease-in-out;
    -moz-animation-fill-mode: both;
    -o-animation-name: pbounce;
    -o-animation-duration: 1.4s;
    -o-animation-iteration-count: infinite;
    -o-animation-timing-function: ease-in-out;
    animation-name: pbounce;
    animation-duration: 1.4s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-fill-mode: both;
    background: #0095CC;
    display: inline-block;
    height: 15px;
    margin: 0 3px;
    opacity: 0.6;
    width: 15px;
}
.bounce1 {
    -webkit-animation-delay: -0.48s;
    -moz-animation-delay: -0.32s;
    -o-animation-delay: -0.32s;
    animation-delay: -0.32s;
}
.bounce2 {
    -webkit-animation-delay: -0.32s;
    -moz-animation-delay: -0.16s;
    -o-animation-delay: -0.16s;
    animation-delay: -0.16s;
}
.bounce3 {
    -webkit-animation-delay: -0.16s;
    -moz-animation-delay: -0.16s;
    -o-animation-delay: -0.16s;
    animation-delay: -0.16s;
}
@-webkit-keyframes pbounce {
0%, 80%, 100% {
    -webkit-transform: scale(0.0)
}
40% {
    -webkit-transform: scale(1.0)
}
}
@-moz-keyframes pbounce {
0%, 80%, 100% {
    -moz-transform: scale(0.0)
}
40% {
    -moz-transform: scale(1.0)
}
}
@keyframes pbounce {
0%, 80%, 100% {
    transform: scale(0.0)
}
40% {
    transform: scale(1.0)
}
}

/*======================== BUTTON ========================*/
.btn {
    display: inline-block;
    padding: 7px 30px !important;
    text-transform: uppercase;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
    border-radius: 50px;
    text-decoration: none;
    background: #48C0F4;
    color: #fff;
    border: 1px solid #48C0F4;
    font-weight: 700;
    font-size: 16px;
    position: relative;
    -webkit-transition: all .15s ease-out;
    -moz-transition: all .15s ease-out;
    -ms-transition: all .15s ease-out;
    -o-transition: all .15s ease-out;
    transition: all .15s ease-out;
}
.btn:after {
    content: "";
    position: absolute;
    right: 25px;
    top: 14px;
    height: 10px;
    width: 10px;
    background: transparent;
    border-right: 2px solid #ffffff;
    border-top: 2px solid #ffffff;
    opacity: 0;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}
.btn:hover {
    background: transparent;
    color: #fff;
    padding-right: 50px !important;
}
.btn:hover:after {
    opacity: 1
}

/*======================== HEADER ========================*/
body > header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  min-height:600px;
    background: rgba(15,52,107,0.6);
    z-index: 1;
}
body > header nav {
    height: 100%;
}
ul.navigation {
    font-family: "Raleway", Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 1em;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.navigation a {
    color: #FFF;
    font-weight: 700;
    padding: 0.25em 0;
    border-bottom: 2px solid transparent;
}
.navigation a:hover {
    text-decoration: none;
    border-color: #FFF;
}
.navigation .link {
    position: absolute;
    display: inline-block;
    width: 100%;
    text-align: center;
    transform-origin: center;
    -webkit-transform-origin: center;
}
.navigation .link.side {
    width: auto;
    margin-left: 0
}
.navigation .link.bottom {
    bottom: 4em;
}
.navigation .link.middle {
    top: 49%;
}
.navigation .link.left {
    left: 4em;
    -moz-transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  transform: rotate(-90deg);
}
.navigation .link.right {
    right: 4em;
    -moz-transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}
/*======================== TYPOGRAPHY ========================*/
h1, h2, h3, h4 {
    color: #fff;
    font-weight: 500;
    line-height: 1.5;
    margin: 0 0 30px;
    text-align: center;
    text-transform: uppercase;
}
h1 {
    font-size: 50px;
}
h2 {
    font-size: 42px;
}
h3 {
    font-size: 32px;
}
h4 {
    font-size: 24px;
}
b, strong {
    font-weight: 700;
}
i, em {
    font-style: italic;
}
p {
    margin: 0 0 28px;
}
ul, ol {
    margin: 0 0 28px;
    padding: 0 0 0 24px;
}
ul {
    list-style: disc;
}
ol {
    list-style: decimal;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
    content: "";
    content: none;
}
.content-message {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 400;
    margin: 10px 0px 0 0;
  color: #ffffff;
  text-align: center;
}
.content-message i {
    color: #ffffff;
}
/*======================== SECTIONS ========================*/
section {
    font: 1em/1.5em "Raleway", Helvetica, Arial, sans-serif;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(120,184,195,0.6);
    z-index: -99999;
    overflow: hidden;
}
.container {
    overflow-y: auto;
}
#about .container, #subscribe .content, #contact .container {
    opacity: 0;
}
#about.active .container, #subscribe.active .content, #contact.active .container {
    opacity: 1;
}
.intro {
    color: #FFFFFF;
    display: block;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
    width: 100%;
    text-align: center;
}
.intro h1 {
    position: relative;
    font-size: 70px;
    line-height: 1.1;
    letter-spacing: -2px;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
    color: #ffffff;
    width: 100%;
}
.intro h1 span {
    font-weight: 700;
    color: #48C0F4;
    letter-spacing: -1px;
}
.intro p {
    font-size: 18px;
    letter-spacing: 0.4em;
    margin: 0;
    text-transform: uppercase;
}
.intro p span {
    border-color: #FFFFFF;
    border-right: 0 none;
    border-style: solid;
    border-width: 1px 0px 0px;
    display: inline-block;
    margin: 6px 10px;
    width: 100px;
}
.intro i {
    color: #48C0F4;
}
section h1 {
    font-size: 70px;
    line-height: 1.1;
    font-weight: 500;
    margin: 80px 0px 40px 0px;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: #FFF;
    white-space: nowrap;
    text-align: center;
}
section h1 span {
    display: inline-block;
    font-weight: 700;
    border-bottom: 3px solid #48C0F4;
    padding-bottom: 0.15em;
}
#subscribe h1 {
    padding-top: 120px;
    padding-bottom: 40px;
    margin: 20px 20px 0px 20px;
    background: rgba(15,52,107,0.8);
}
.newline {
    margin-top: 20px;
}
.social {
    padding: 40px 0px;
}
.social a {
    background: rgba(15,52,107,0.9);
    border-radius: 100%;
    color: #48C0F4;
    display: inline-block;
    font-size: 24px;
    height: 50px;
    width: 50px;
    margin-left: 3px;
    text-align: center;
    -webkit-transition: all 300ms ease-in-out 0s;
    -moz-transition: all 300ms ease-in-out 0s;
    -ms-transition: all 300ms ease-in-out 0s;
    -o-transition: all 300ms ease-in-out 0s;
    transition: all 300ms ease-in-out 0s;
}
.social i {
    position: relative;
    top: 13px;
}
.social a:hover {
    background: rgba(72,192,244,0.9);
    color: #fff;
}
#about, #contact {
    background: rgba(15,52,107,0.6);
}
#about.active, #contact.active {
    background: rgba(58, 115, 107,0.6);
}
/*======================== CLOSE BUTTON  ========================*/
.close {
    position: absolute;
    top: 50%;
    right: 5%;
    display: block;
    width: 58px;
    height: 58px;
    opacity: 0.6;
    margin-top: -30px;
    margin-left: -30px;
    background: url('../images/close.png') no-repeat center center;
    border: 2px solid #ffffff;
    border-radius: 100%;
    -webkit-border-radius: 100%;
}
#contact .close {
    left: 5%;
}
#subscribe .close {
    top: 3.5em;
    left: 50%;
}
.close:hover, .close:hover:before, .close:hover:after {
    opacity: 0.9;
    -moz-transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}
/*======================== SUBSCRIBE & CONTACT FORM ========================*/
input[type="text"], input[type="email"], input[type="password"], textarea {
    background-color: rgba(255,255,255,0.9);
    border: 2px solid rgba(72,192,244,0.9);
    -webkit-border-radius: 6px;
    border-radius: 6px;
    color: #000000;
    font-family: inherit;
    font-size: 14px;
    padding: 6px 10px;
    margin: 0px 0px 8px 0px;
    -webkit-transition: all 0.7s ease 0s;
    -moz-transition: all 0.7s ease 0s;
    -ms-transition: all 0.7s ease 0s;
    -o-transition: all 0.7s ease 0s;
    transition: all 0.7s ease 0s;
    width: 100%;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, textarea:focus {
    background-color: rgba(255,255,255,1);
}
.subscribe {
    position: relative;
    height: auto;
    margin: 50px 0px 0px 0px;
    width: 100%;
}
input::-webkit-input-placeholder, input:-moz-placeholder, input::-moz-placeholder, input:-ms-input-placeholder {
    color: #999;
}
.subscribe  input[type="text"] {
    padding: 9px 50px 9px 15px;
}
#subscribe_submit {
    background: transparent url(../images/envelope.png) no-repeat top right;
    color: #fff;
    font-weight: 100;
    font-size: 12px;
    border: none;
    padding: 1px 15px 4px;
    outline: none;
    position: absolute;
    right: 11px;
    top: 9px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
#subscribe_submit:hover {
    background: transparent url(../images/envelope.png) no-repeat top right;
}
.contactForm {
    padding-top: 40px;
}
#contact i {
    background: rgba(72,192,244,0.9);
    color: #fff;
    border-radius: 100%;
    display: inline-block;
    font-size: 24px;
    height: 50px;
    width: 50px;
    margin-left: 3px;
    padding-top: 12px;
    text-align: center;
    -webkit-transition: all 300ms ease-in-out 0s;
    -moz-transition: all 300ms ease-in-out 0s;
    -ms-transition: all 300ms ease-in-out 0s;
    -o-transition: all 300ms ease-in-out 0s;
    transition: all 300ms ease-in-out 0s;
}
.form-group{
margin-bottom:0px;
}
.error {
    -webkit-transition: all 0.5s ease 0s;
    -moz-transition: all 0.5s ease 0s;
    -ms-transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
    float: right;
    margin: -40px 4px 0 0;
    position: relative;
    top: 0;
}
.error i{
    background: none !important;
    border-radius:0;
    -webkit-border-radius:0;
    width:12px !important;
    height:12px !important;
    margin: 0px;
    padding: 0px;
}
.error i:before {
    color: #FF0000;
    content: "";
    font-family: FontAwesome;
    font-size: 11px;
    margin-right: 10px;
    vertical-align: top;
    width:12px !important;
    height:12px !important;
}
/*======================== ANIMATION ========================*/
a, .close:before, .close:after {
    -webkit-transition: all 1s ease-in;
    -moz-transition: all 1s ease-in;
    -ms-transition: all 1s ease-in;
    -o-transition: all 1s ease-in;
    transition: all 1s ease-in;
}
section {
    -webkit-transition: background 1s ease-in;
    -moz-transition: background 1s ease-in;
    -ms-transition: background 1s ease-in;
    -o-transition: background 1s ease-in;
    transition: background 1s ease-in;
}

/*======================== RESPONSIVE ========================*/
@media only screen and (max-width: 1123px) {
h1, .intro h1 {
    font-size: 58px;
}
}
@media only screen and (max-width: 1023px) {
h1, .intro h1 {
    font-size: 48px;
}
.navigation .link.left {
    left: 30px;
}
.navigation .link.right {
    right: 30px;
}
.close {
    top: 50%;
    right: 4%;
    width: 40px;
    height: 40px;
    margin-top: -25px;
    margin-left: -25px;
}
#contact .close {
    left: 60px;
}
}
@media (min-width: 768px) {
.intro h1 {
padding:0px 85px;
}
}
@media only screen and (max-width: 767px) {
html, body {
    overflow-y: auto !important;
}
body {
    height: auto !important;
}
header {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    min-height: 550px;
}
.intro h1 {
    font-size: 40px;
}
.intro p{
font-size:16px;
}
.intro p span {
width:80px;
}
section {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 2 !important;
    opacity: 1 !important;
}
section .content, section .container {
    opacity: 1 !important;
}
.navigation {
    display: none;
}
section {
    padding: 4em 0;
}
#subscribe {
    padding: 0;
}
#subscribe h1 {
    background: none !important;
    height: auto;
    padding: 0px !important;
}
.close {
    display: none;
}
}
@media only screen and (max-width: 500px) {
body {
    font-size: 14px;
    border: 0px solid transparent;
}
h1, .intro h1 {
    font-size: 32px;
}
h2 {
    font-size: 28px;
}
h3 {
    font-size: 24px;
}
h4 {
    font-size: 20px;
}
.intro p{
font-size:14px;
}
.intro p span {
width:60px;
}
section h1 {
    font-size: 2.5em;
    margin-top: 0px;
}
}
<section id="contact" data-direction="from-right" class="active" style="left: 0px; z-index: 2;">
<div class="container">
<h1>
<a href="#" class="close"/>
<div class="row">
<div class="col-md-8 col-md-offset-2">
<h4>Just want to say hello? Send us an email or fill out the form below and we will get back to you ASAP.</h4>
<div class="newline col-sm-3 text-center">
<div class="newline col-sm-3 text-center">
<div class="newline col-sm-3 text-center">
<div class="newline col-sm-3 text-center">
<div class="clearfix"/>
<div class="contactForm">
</div>
</div>
</div>
</section>