私は、私はちょうどコピーすることができますし、戻って私のエディタへウェブサイトをモバイルに適合させるか、または任意の画面サイズにしますか?
絶対要素を貼り付けて、私はそれが要素を台無しにブラウザのサイズを変更するたびに、あなたは私を助けることができる (そのプロジェクトのための)任意の画面サイズにこれを拡張する助けが必要あなたは絶対または固定、相対としての絶対的なタグの直接の親を設定する必要があり、画面
$(function() {
var documentEl = $(document),
fadeElem = $('.fade-scroll');
documentEl.on('scroll', function() {
var currScrollPos = documentEl.scrollTop();
fadeElem.each(function() {
var $this = $(this),
elemOffsetTop = $this.offset().top;
if (currScrollPos > elemOffsetTop) $this.css('opacity', 1 - (currScrollPos-elemOffsetTop)/250);
});
});
});
\t body{
\t \t padding:0px;
margin:0px;
\t \t overflow-x: hidden;
\t \t cursor:auto;
\t \t
\t \t
\t \t
\t }
.Paralax-1{
background:url(https://static.pexels.com/photos/249360/pexels-photo-249360.jpeg) no-repeat center center fixed;
\t background-size: cover;
\t height:680px;
\t
}
.Parainner1{
padding-bottom:500px;
\t \t
}
\t .Paralax-2{
\t \t background:url(https://images.pexels.com/photos/187107/pexels-photo-187107.jpeg?w=1260&h=750&auto=compress&cs=tinysrgb) no-repeat center center fixed;
\t background-size: cover;
\t height:580px;
\t }
\t .Parainner2{
padding-bottom:200px;
\t \t
}
\t .title{
\t \t font-size:60px;
\t \t text-align:center;
\t \t margin:-16px 300px;
\t \t padding-top:250px;
border-bottom-width:4px;
border-bottom-style:solid;
\t \t color:rgba(42,42,42,1.00);
\t \t font-family: 'Roboto Condensed', sans-serif;transition: color 0.5s ease;}
.title:hover{
color:rgb(255, 255, 255);
\t }
\t .subtitle{font-size:40px;
\t \t position:absolute;
\t top:328px;
\t \t right:490px;
\t z-index:3;
\t \t text-align:left;
\t \t margin:-16px 300px;
\t \t padding-top:20px;
\t \t color:rgba(42,42,42,1.00);
\t \t font-family: 'Open Sans', sans-serif;
\t \t transition: color 0.5s ease;}
\t
\t .subtitle:hover{
color:rgba(236,94,104,1.00);
\t }
\t .subtitle2{font-size:40px;
\t \t position:absolute;
\t top:328px;
\t \t right:345px;
\t z-index:2;
\t \t text-align:center;
\t \t margin:-16px 300px;
\t \t padding-top:20px;
\t \t color:rgba(42,42,42,1.00);
\t \t font-family: 'Open Sans', sans-serif;
\t \t transition: color 0.5s ease;}
\t
\t .subtitle2:hover{
color:rgba(55,100,211,1.00);
\t }
\t .subtitle3{font-size:40px;
\t \t position:absolute;
\t top:328px;
\t \t right:190px;
\t z-index:1;
\t \t text-align:right;
\t \t margin:-16px 300px;
\t \t padding-top:20px;
\t \t color:rgba(42,42,42,1.00);
\t \t font-family: 'Open Sans', sans-serif;
\t \t transition: color 0.5s ease;}
\t
\t
\t
\t .subtitle3:hover{
color:rgba(62,221,74,1.00);
\t }
\t #slide1{
\t \t margin: 0px;
\t \t padding-top: -50px;
\t \t height:325px;
\t \t background-color:white;
\t \t
\t }
\t #slide1head{
\t \t font-size:50px;
\t \t text-align: center;
\t \t font-family: 'Lato', sans-serif;
\t \t -webkit-animation-timing-function: ease;
-webkit-animation-name: c1; /* Chrome, Safari, Opera */
-webkit-animation-duration: 2s; /* Chrome, Safari, Opera */
-webkit-animation-iteration-count: 1;
position: relative;
transition: 0.5s;
\t \t
\t \t
\t }
\t #slide1head:hover{
\t \t transform: scale(1.2);
\t }
\t #slide1para{
\t \t text-align: center;
\t \t color: dimgrey;
\t \t font-size: 23px;
\t \t font-family: 'Raleway', sans-serif;
\t \t
\t \t
\t }
\t #slide1foot{
\t \t font-size:26px;
\t \t text-align: center;
\t \t font-family: 'Lato', sans-serif;
\t \t
\t }
\t .ih{
\t \t z-index:4;
\t \t float: center;
\t \t margin-left:30%;
\t \t margin-top:2%;
\t \t -webkit-animation-timing-function: ease;
-webkit-animation-name: c1; /* Chrome, Safari, Opera */
-webkit-animation-duration: 2s; /* Chrome, Safari, Opera */
-webkit-animation-iteration-count: 1;
position: relative;
transition: 0.5s;
\t }
\t .ih:hover{
\t \t transform: scale(1.1);
\t }
\t .ih2{
\t \t text-align: center;
\t \t color: white;
\t \t font-size: 55px;
\t \t font-family: 'Quicksand', sans-serif;
\t \t padding:0;
\t \t margin:0;
\t }
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Wey Education</title>
<link href="https://fonts.googleapis.com/css?family=Lato|Open+Sans|Oxygen|Raleway|Roboto|Roboto+Condensed" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Dosis|Quicksand|Titillium+Web|Ubuntu" rel="stylesheet">
</head>
<style>
</style>
<body>
</section>
<section class = "Paralax-1">
<div class= "Parainner1">
<h1 class = "title">Wey Education</h1>
<h3 class = "subtitle">Aspire</h3>
<h3 class = "subtitle2">Believe</h3>
<h3 class = "subtitle3">Achieve</h3>
</div>
</section>
<div id = "slide1"class="fade-scroll">
<h1 id="slide1head" class="fade-scroll">Wey Education</h1>
\t <p id="slide1para" class="fade-scroll">Wey Education is an educational services group that is passionate about the <br> transformative power of education. We believe that by driving up the academic <br> standards, we can improve the life chances and opportunities for young people.<br>We are commited to shaping the future of education as well as online learning, <br> and bringing an innovative approach to audiences across the globe. </p>
\t <h3 id="slide1foot" class="fade-scroll">Our current ongoing projects:</h3>
</div>
<section class ="Paralax-2">
\t <div class="Parainner2">
\t <a href="http://www.interhigh.co.uk/" target="_blank">
\t \t <img class="ih" src ="http://www.interhigh.co.uk/wp-content/uploads/2015/07/InterHigh_est.png">
\t \t </a>
\t \t <h2 class="ih2">The UK's #1 Online Secondary School</h2>
\t </div>
</section>
</body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
</html>
をご確認ください。覚えておいて、SOは、特定のコードに関する質問を手助けすることです。たくさんのコードを投げたり、他の人にあなたのためにそれを修正してもらうように頼むことはありません。 – Toby