- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
大家好,各位堆垛机,
正如问题所暗示的,我试图让 .journal
div 保持在其各自的位置,但每次调整浏览器大小时,它都会显示父 div 的背景。
有没有人解决这个问题?
html {
position: relative;
min-height: 100%;
}
.container1 {
width: auto;
background-color: #232323;
max-width: 100%;
width: 100%;
display: flex;
font-family: 'Lekton';
padding-top: 1%;
padding-bottom: 1%;
}
.footer {
display: -ms-flexbox;
width: 80%;
margin: 0 auto;
display: -webkit-flex;
display: flex;
}
.container1 p {
color: #fff;
font-size: 1em;
}
.flex-item:nth-child(1) {
color: #fff;
text-transform: lowercase;
-webkit-order: 0;
-ms-flex-order: 0;
order: 0;
-webkit-flex: 5 0 auto;
-ms-flex: 5 0 auto;
flex: 5 0 auto;
-webkit-align-self: auto;
-ms-flex-item-align: auto;
align-self: auto;
}
.flex-item:nth-child(2) {
color: #fff;
text-transform: lowercase;
-webkit-order: 0;
-ms-flex-order: 0;
order: 0;
-webkit-flex: 5 0 auto;
-ms-flex: 5 0 auto;
flex: 5 0 auto;
-webkit-align-self: auto;
-ms-flex-item-align: auto;
align-self: auto;
}
.flex-item:nth-child(2) a {
color: #fff;
text-decoration: none;
}
.flex-item:nth-child(3) {
color: #fff;
padding-bottom: .04%;
border-bottom: 1px solid white;
-webkit-order: 0;
-ms-flex-order: 0;
order: 0;
-webkit-flex: 0 0 auto;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
-webkit-align-self: baseline;
-ms-flex-item-align: baseline;
align-self: baseline;
}
.flex-item:nth-child(3) a {
color: #fff;
text-decoration: none;
}
.journal {
max-width: 100%;
margin: 0 auto;
height: 1500px;
margin-top: 80px;
display: block;
width: 90%;
background-color: #7f73ba;
position: relative;
}
.blogpost {
width: 33.33%;
overflow: hidden;
position: relative;
float: left;
left: 0px;
top: 0px;
}
@media (max-width: 800px) {
.blogpost {
height: 15%;
}
}
@media (max-width: 1200px) {
.blogpost {
width: 50%;
}
}
@media (max-width: 800px) {
.blogpost {
width: 100%;
}
}
/*Tags*/
.journal-tags a {
color: #fff;
font-size: 14px;
padding-left: 70%;
font-weight: normal;
padding-right: 3%;
font-family: 'Lekton';
text-decoration: none;
}
.journal-tags a:hover {
color: #7f73ba;
background-color: #fff;
}
/*Title*/
.journal-title > h3 {
font-family: 'Proxima Nova' sans-serif;
text-align: center;
margin-top: 10px;
}
.journal-title > h3 a {
text-decoration: none;
color: #000;
font-size: 45px;
line-height: 45px;
}
@media (max-width: 1200px) {
.journal-title > h3 a {
font-size: 35px;
line-height: 35px;
}
}
@media (max-width: 800px) {
.journal-title > h3 a {
font-size: 25px;
line-height: 25px;
}
}
@media (max-width: 800px) {
.journal-title > h3 {
margin-top: 0px;
}
}
@media (max-width: 800px) {
.journal-title {}
}
.flex-container {
background-color: red;
height: 100%;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-align-content: center;
-ms-flex-line-pack: center;
align-content: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.goodbye {
position: fixed;
bottom: 0px;
text-align: center;
margin: 0 auto;
background-color: #fd665c;
width: 100%;
z-index: 9;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
color: #fefd32;
text-align: center;
}
}
.goodbye a {
font-size: 5em;
z-index: 9999999999;
font-family: 'brandon-grotesque';
}
.text-go {
margin: 0 auto;
padding-bottom: 15%;
top: 0;
text-align: center;
color: #fefd32;
width: 100%;
font-size: 7em;
font-family: 'Proxima Nova';
}
@media (max-width: 500px) {
.text-go {
font-size: 6em;
}
}
.text-go h6 {
color: #bbb;
font-size: 18px;
}
.text-go a {
text-decoration: none;
cursor: pointer;
color: #fff;
}
.nice-line {
width: 80%;
height: 1px;
background-color: #f6f6f6;
}
.text-go a:hover {
border-bottom: 1px solid #fefd32;
}
.block-title {
float: left;
width: 100%;
height: 88px;
}
.block-title a {
color: #ff0;
text-decoration: none;
z-index: 9999;
}
.link1 {
width: 25%;
height: 100%;
padding-bottom: 1%;
padding-top: 1%;
float: left;
background-color: yellow;
font-family: 'brandon-grotesque';
margin-top: 0;
position: relative;
}
.byebye {
position: relative;
}
.contact ul,
ul,
ul.proficient {
list-style-type: none
}
.Biographical-Content a,
.contact li,
.contact li a,
.contact ul,
.endh4 a,
.footer,
.item-type-double .item-hover,
.overlay ul li a,
.registry-description p a,
.registry-description p a:hover {
text-decoration: none
}
article,
aside,
blockquote,
body,
dd,
div,
dl,
dt,
fieldset,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
label,
legend,
li,
menu,
nav,
ol,
p,
pre,
section,
td,
th,
ul {
margin: 0;
padding: 0;
border: 0
}
html body {
width:100%;
position:relative;
background-color:#fd665c;
}
body,
h1,
h2,
h3,
h4,
h5,
h6 {
font-size:1rem;
font-weight:500;
font-family:brandon-grotesque,
brandon-grotesque,
Futura,
sans-serif
}
h2 {
font-size:1.875em
}
p {
font-size:.875em
}
.other-contain {
width:100%;
position:relative;
display:block;
background-color:#fff;
}
.My-Gems {
width:100%;
height:100%;
text-align:center;
margin:0 auto;
background-color:transparent;
overflow:hidden;
}
@media screen and (max-width: 444px) {
.My-Gems {
width:100%
}
}
@media screen and (max-width: 333px) {
.My-Gems {
width:100%
}
}
.global-container {
width:100%;
z-index:9999;
position:relative;
text-align:center;
margin:0 auto;
background-color:#7f73ba;
}
.high-container {
width:100%;
position:relative;
background-color:transparent;
height:4900px;
}
.content-container,
.post-container {
text-align:center;
width:100%;
top:0;
display:block;
background-color:#f1f1f1;
height:100%;
margin:0;
position:relative
}
.post-container {
z-index:0;
top:400px;
padding-bottom:10%;
max-height:100%;
}
.container {
width:100%;
margin:0 auto;
color:#000;
text-align:left;
margin-top:50px;
font-family:'Roboto',
sans-serif;
-moz-transition:all .3s ease-out;
-o-transition:all .3s ease-out;
-webkit-transition:all .3s ease-out
}
.eee {
width:100%;
margin:0 auto;
background-color:#7f73ba;
}
.ready {
font-family:'Proxima Nova' sans-serif;
font-size:3em;
text-align:center;
font-weight:400;
color:#fff;
}
.underline {
background-color:#fd665c;
width:55px;
height:8px;
margin:0 auto;
display:block;
position:relative;
text-align:center;
}
@media only screen and (max-width: 555px) {
.underline {
width:35px;
height:6px;
}
}
.container p {
-moz-columns:2;
-webkit-columns:2;
columns:2;
}
.Biographical-Content {
z-index:99999;
display:block;
top:-350px;
position:relative;
-moz-transition:all .3s ease-out;
-o-transition:all .3s ease-out;
-webkit-transition:all .3s ease-out;
transition:all .3s ease-out;
font-family:brandon-grotesque,
brandon-grotesque,
Futura,
sans-serif;
width:55%;
margin-left:auto;
text-align:center;
padding:0;
margin-right:auto
}
@media (max-width: 444px) {
.Biographical-Content {
top:-365px
}
}
@media (max-width: 333px) {
.Biographical-Content {
top:-375px
}
}
.Biographical-Content p {
margin-top:20px;
padding:0;
transition:all .3s ease-out;
font-size:20px;
line-height:2em
}
.Biographical-Content a,
.Biographical-Content p {
color:#000;
margin-top:50px;
font-family:'Roboto',
sans-serif;
-moz-transition:all .3s ease-out;
-o-transition:all .3s ease-out;
-webkit-transition:all .3s ease-out
}
@media (max-width: 1111px) {
.Biographical-Content {
width:70%
}
.Biographical-Content p {
font-size:18px;
line-height:1.8em
}
}
@media (max-width: 999px) {
.Biographical-Content {
width:75%
}
.Biographical-Content p {
font-size:17px;
line-height:1.6em
}
}
@media (max-width: 555px) {
.Biographical-Content p {
margin-top:15px;
}
.Biographical-Content {
width:80%
}
}
@media (max-width: 777px) {
.Biographical-Content p {
margin-top:18px;
}
}
@media (max-width: 444px) {
.Biographical-Content p {
font-size:13px;
line-height:1.4em
}
.Biographical-Content {
width:85%
}
}
.Biographical-Content a {
cursor:pointer;
color:#fd665c;
transition:all .3s ease-out
}
.hide,
.overlay-hugeinc {
visibility:hidden
}
.item {
text-align:center;
transition:all .3s ease-out;
float:left;
position:relative;
width:50%;
height:100%
}
.item-hover,
.item-hover .mask,
.item-img,
.item-info {
width:100%;
height:100%
}
.item-hover,
.item-hover .mask {
position:absolute;
top:0;
height:100%;
left:0
}
.item-type-double .item-hover {
z-index:5;
-webkit-transition:all 300ms ease-out;
-moz-transition:all 300ms ease-out;
-o-transition:all 300ms ease-out;
transition:all 300ms ease-out;
opacity:0;
cursor:pointer;
display:block;
text-align:center
}
.item-type-double .item-info {
color:#fff;
display:table;
position:relative;
z-index:5
}
.item-type-double .item-info div.mycell {
vertical-align:middle;
height:100%;
display:table-cell
}
.item-type-double .item-info .headline {
font-size:2.4em;
font-family:'Proxima Nova' sans-serif;
text-transform:uppercase;
width:90%;
margin:0 auto
}
@media (max-width: 500px) {
.item {
width:100%;
height:100%
}
}
@media (max-width: 888px) {
.item-type-double .item-info .headline {
font-size:1.8em;
text-transform:uppercase;
width:90%;
margin:0 auto
}
}
@media (max-width: 666px) {
.item-type-double .item-info .headline {
font-size:1.4em;
text-transform:uppercase;
width:90%;
margin:0 auto
}
}
@media (max-width: 444px) {
.item-type-double .item-info .headline {
font-size:1.3em;
text-transform:uppercase;
width:90%;
margin:0 auto
}
}
@media (max-width: 390px) {
.item-type-double .item-info .headline {
font-size:.8em;
text-transform:uppercase;
width:90%;
margin:0 auto
}
}
@media (max-width: 333px) {
.item-type-double .item-info .headline {
font-size:.6em;
text-transform:uppercase;
width:90%;
margin:0 auto
}
}
@media (max-width: 222px) {
.item-type-double .item-info .headline {
font-size:.5em;
text-transform:uppercase;
width:90%;
margin:0 auto
}
}
.item-type-double .item-info .date {
font-size:20px;
font-family:Canter;
text-transform:uppercase
}
@media (max-width: 444px) {
.item-type-double .item-info .date {
font-size:16px;
text-transform:uppercase
}
}
@media (max-width: 333px) {
.item-type-double .item-info .date {
font-size:10px;
text-transform:uppercase
}
}
.item-type-double .item-hover .mask {
background-color:#000;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
opacity:.5;
z-index:0
}
.item-type-double .item-hover:hover .line {
width:90%
}
.item-type-double .item-hover:hover {
opacity:1
}
.item-img {
width:100%;
z-index:0
}
.item-img img {
width:100%;
display:block
}
.hidden {
opacity:0
}
.visible {
opacity:1
}
.end {
min-height:5vh;
display:block;
position:relative;
text-align:center;
transition:all .3s ease-out;
line-height:5vh;
font-family:brandon-grotesque,
}
.end,
.endh4:hover {
color:#fff;
-moz-transition:all .3s ease-out;
-o-transition:all .3s ease-out;
-webkit-transition:all .3s ease-out
}
.endh4 {
font-family:brandon-grotesque;
color:#fff
}
.endh4:hover {
cursor:pointer;
transition:all .3s ease-out
}
.endh4 a {
color:#fff
}
.effects .img {
position:relative;
float:left;
width:50%;
overflow:hidden;
}
.effects .img img {
display:block;
margin:0;
width:100%;
padding:0;
max-width:100%;
height:auto;
}
.overlay5 {
display:block;
position:absolute;
z-index:20;
background:rgba(0,
0,
0,
0.3);
overflow:hidden;
-webkit-transition:all 0.5s;
-moz-transition:all 0.5s;
-o-transition:all 0.5s;
transition:all 0.5s;
}
a.expand {
display:block;
position:absolute;
text-transform:uppercase;
padding:1%;
z-index:100;
text-align:center;
color:#fff;
font-family:'Lekton',
sans-serif;
text-decoration:none;
font-weight:600;
font-size:35px;
}
#effect-6 .overlay5 {
top:0;
bottom:0;
left:0;
right:0;
opacity:0;
}
#effect-6 .overlay5 a.expand {
left:0;
right:0;
top:0;
margin:0 auto;
opacity:0;
-webkit-transition:all 0.5s;
-moz-transition:all 0.5s;
-o-transition:all 0.5s;
transition:all 0.5s;
}
#effect-6 .img.hover .overlay5 {
opacity:1;
}
#effect-6 .img.hover .overlay5 a.expand {
top:50%;
margin-top:-30px;
opacity:1;
}
@media only screen and (max-width: 1100px) {
.effects .img {
width:50%;
}
}
@media only screen and (max-width: 1100px) {
a.expand {
font-size:27px;
padding:10px;
}
}
@media only screen and (max-width: 520px) {
.effects .img {
width:100%;
}
}
@media only screen and (max-width: 520px) {
a.expand {
font-size:25px;
}
}
<div class="high-container">
<div class="global-container">
<div class=content-container>
<div class=row>
<div class="border red"></div>
<h1 class="title-role">
Hello Stackers
</h1>
</div>
<div class=post-container>
<div class=Biographical-Content>
<div class="step out-view"></div>
<!--Image-->
<br>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam nec leo vitae ligula mattis aliquet nec vitae risus. Pellentesque accumsan tempus fermentum. Suspendisse placerat, tortor lobortis convallis tincidunt, lorem nisl egestas tortor,
eget pharetra magna dolor ac lorem. In hac habitasse platea dictumst. Integer vitae ipsum consequat, laoreet ligula nec, rutrum lectus. Nulla fringilla, lectus sed malesuada interdum, risus mi bibendum mi, nec facilisis urna arcu in lectus.
Suspendisse erat ex, eleifend et lorem non, pulvinar volutpat lorem. Pellentesque gravida euismod nulla, scelerisque placerat nibh facilisis a. Ut eleifend interdum placerat. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
<!--<div class="container">
<p>My favourite book is <a href=https://en.wikipedia.org/wiki/The_Prince>The Prince</a> by Nicolo Machievelli. My favourite dish is <a href=http://lifestyle.sapo.pt/sabores/receitas/arroz-de-marisco>Arroz De Marisco.</a> This website has been recently created so content is being added concurrently.
</p>
</div>-->
</div>
</div>
</div>
<div class="other-contain">
<div class="workwork">
</div>
<div class="My-Gems">
<div id="effect-6" class="effects clearfix">
<div class="img">
<img src="http://www.savoringthesweetlife.com/Portfolio/I-Do-Wedding-Portfolio/i-XbTmRFg/0/L/www.SavoringTheSweetLife.com%20Photography%20Wedding%20of%20Marianne%20and%20Dana-429-L.jpg" style="height:100%;" alt="">
<div class="overlay5">
<a href="#" class="expand">The Wedding of The Year</a>
</div>
</div>
<div class="img">
<img src="http://kadeem.london/Image/Money-Matters-Logo.png" alt="">
<div class="overlay5">
<a href="#" class="expand">Money Matters</a>
</div>
</div>
</div>
</div>
</div>
<div class="eee">
<div class="ready">
<div class="underline"></div><a>Posts</a>
<div class="journal">
<div class="blogpost b1">
<div class="journal-tags">
<a href="#">Design</a>
</div>
<div class="journal-title">
<h3><a href="">The Fwad Logo</a></h3>
</div>
</div>
<div class="blogpost b2">
<div class="journal-tags">
<b><a href="#">Event</a></b>
</div>
<div class="journal-title">
<h3><a href="">Contrabang: The Event</a></h3>
</div>
</div>
<div class="blogpost b3">
<div class="journal-tags">
<a href="#">Marketing</a>
</div>
<div class="journal-title">
<h3><a href="/blog/opinions/who-you-are-is-where-you-ve-been">Becoming a Brand: The Dos and Don'ts</a></h3>
</div>
</div>
<div class="blogpost b4">
<div class="journal-tags">
<b><a href="#">Journal</a></b>
</div>
<div class="journal-title">
<h3><a href="/blog/opinions/3-things-brands-can-learn-from-caitlyn-jenner">The Political Implications of Events</a></h3>
</div>
</div>
<div class="blogpost b5">
<div class="journal-tags">
<a href="#">Urban</a>
</div>
<div class="journal-title">
<h3><a href="/blog/opinions/the-chancellor-s-googly-re-emphasises-insurance-s-need-for-content">Rebranding London</a></h3>
</div>
</div>
<div class="blogpost b6">
<div class="journal-tags">
<a href="#">Marketing</a>
</div>
<div class="journal-title">
<h3><a href="/blog/work/meet-the-boss">Digital Content: The Ebook</a></h3>
</div>
</div>
</div>
</div>
</div>
<!--My Gems-->
</div>
<!--Post Container-->
</div>
<!--Content Container-->
</p>
</p>
</div>
</div>
</div>
<body>
</body>
<footer class="goodbye">
<div class="text-go">LOREM
<h6 style="color:#fff;">
Lorem ipsum dolor sit amet..<br>
</h6>
</div>
<div class="container1">
<footer class="footer">
<div class="container1">
<div class="flex-item">Lorem</div>
<!-- <div class="flex-item"> <a href="NO">CNTRA</a> / <a href="">FWAD</a> / <a href="">UCOMPARE</a> / <a href="">BASE</a> / <a href="#">MIGHT</a> / <a href="">CONTRABANG</a> / <a href="">FACE</a> / <a href="">BLOOOOM </a></div>
<div class="flex-item"><a href="mailto:kadeemlaurie@gmail.com">contact@kadeem.london</a></div>-->
</div>
</footer>
</div>
</div>
最佳答案
尝试从 .post-container
中删除 top:400px
html {
position: relative;
min-height: 100%;
}
.container1 {
width: auto;
background-color: #232323;
max-width: 100%;
width: 100%;
display: flex;
font-family: 'Lekton';
padding-top: 1%;
padding-bottom: 1%;
}
.footer {
display: -ms-flexbox;
width: 80%;
margin: 0 auto;
display: -webkit-flex;
display: flex;
}
.container1 p {
color: #fff;
font-size: 1em;
}
.flex-item:nth-child(1) {
color: #fff;
text-transform: lowercase;
-webkit-order: 0;
-ms-flex-order: 0;
order: 0;
-webkit-flex: 5 0 auto;
-ms-flex: 5 0 auto;
flex: 5 0 auto;
-webkit-align-self: auto;
-ms-flex-item-align: auto;
align-self: auto;
}
.flex-item:nth-child(2) {
color: #fff;
text-transform: lowercase;
-webkit-order: 0;
-ms-flex-order: 0;
order: 0;
-webkit-flex: 5 0 auto;
-ms-flex: 5 0 auto;
flex: 5 0 auto;
-webkit-align-self: auto;
-ms-flex-item-align: auto;
align-self: auto;
}
.flex-item:nth-child(2) a {
color: #fff;
text-decoration: none;
}
.flex-item:nth-child(3) {
color: #fff;
padding-bottom: .04%;
border-bottom: 1px solid white;
-webkit-order: 0;
-ms-flex-order: 0;
order: 0;
-webkit-flex: 0 0 auto;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
-webkit-align-self: baseline;
-ms-flex-item-align: baseline;
align-self: baseline;
}
.flex-item:nth-child(3) a {
color: #fff;
text-decoration: none;
}
.journal {
max-width: 100%;
margin: 0 auto;
height: 1500px;
margin-top: 80px;
display: block;
width: 90%;
background-color: #7f73ba;
position: relative;
}
.blogpost {
width: 33.33%;
overflow: hidden;
position: relative;
float: left;
left: 0px;
top: 0px;
}
@media (max-width: 800px) {
.blogpost {
height: 15%;
}
}
@media (max-width: 1200px) {
.blogpost {
width: 50%;
}
}
@media (max-width: 800px) {
.blogpost {
width: 100%;
}
}
/*Tags*/
.journal-tags a {
color: #fff;
font-size: 14px;
padding-left: 70%;
font-weight: normal;
padding-right: 3%;
font-family: 'Lekton';
text-decoration: none;
}
.journal-tags a:hover {
color: #7f73ba;
background-color: #fff;
}
/*Title*/
.journal-title > h3 {
font-family: 'Proxima Nova' sans-serif;
text-align: center;
margin-top: 10px;
}
.journal-title > h3 a {
text-decoration: none;
color: #000;
font-size: 45px;
line-height: 45px;
}
@media (max-width: 1200px) {
.journal-title > h3 a {
font-size: 35px;
line-height: 35px;
}
}
@media (max-width: 800px) {
.journal-title > h3 a {
font-size: 25px;
line-height: 25px;
}
}
@media (max-width: 800px) {
.journal-title > h3 {
margin-top: 0px;
}
}
@media (max-width: 800px) {
.journal-title {}
}
.flex-container {
background-color: red;
height: 100%;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-align-content: center;
-ms-flex-line-pack: center;
align-content: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.goodbye {
position: fixed;
bottom: 0px;
text-align: center;
margin: 0 auto;
background-color: #fd665c;
width: 100%;
z-index: 9;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
color: #fefd32;
text-align: center;
}
}
.goodbye a {
font-size: 5em;
z-index: 9999999999;
font-family: 'brandon-grotesque';
}
.text-go {
margin: 0 auto;
padding-bottom: 15%;
top: 0;
text-align: center;
color: #fefd32;
width: 100%;
font-size: 7em;
font-family: 'Proxima Nova';
}
@media (max-width: 500px) {
.text-go {
font-size: 6em;
}
}
.text-go h6 {
color: #bbb;
font-size: 18px;
}
.text-go a {
text-decoration: none;
cursor: pointer;
color: #fff;
}
.nice-line {
width: 80%;
height: 1px;
background-color: #f6f6f6;
}
.text-go a:hover {
border-bottom: 1px solid #fefd32;
}
.block-title {
float: left;
width: 100%;
height: 88px;
}
.block-title a {
color: #ff0;
text-decoration: none;
z-index: 9999;
}
.link1 {
width: 25%;
height: 100%;
padding-bottom: 1%;
padding-top: 1%;
float: left;
background-color: yellow;
font-family: 'brandon-grotesque';
margin-top: 0;
position: relative;
}
.byebye {
position: relative;
}
.contact ul,
ul,
ul.proficient {
list-style-type: none
}
.Biographical-Content a,
.contact li,
.contact li a,
.contact ul,
.endh4 a,
.footer,
.item-type-double .item-hover,
.overlay ul li a,
.registry-description p a,
.registry-description p a:hover {
text-decoration: none
}
article,
aside,
blockquote,
body,
dd,
div,
dl,
dt,
fieldset,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
label,
legend,
li,
menu,
nav,
ol,
p,
pre,
section,
td,
th,
ul {
margin: 0;
padding: 0;
border: 0
}
html body {
width:100%;
position:relative;
background-color:#fd665c;
}
body,
h1,
h2,
h3,
h4,
h5,
h6 {
font-size:1rem;
font-weight:500;
font-family:brandon-grotesque,
brandon-grotesque,
Futura,
sans-serif
}
h2 {
font-size:1.875em
}
p {
font-size:.875em
}
.other-contain {
width:100%;
position:relative;
display:block;
background-color:#fff;
}
.My-Gems {
width:100%;
height:100%;
text-align:center;
margin:0 auto;
background-color:transparent;
overflow:hidden;
}
@media screen and (max-width: 444px) {
.My-Gems {
width:100%
}
}
@media screen and (max-width: 333px) {
.My-Gems {
width:100%
}
}
.global-container {
width:100%;
z-index:9999;
position:relative;
text-align:center;
margin:0 auto;
background-color:#7f73ba;
}
.high-container {
width:100%;
position:relative;
background-color:transparent;
height:4900px;
}
.content-container,
.post-container {
text-align:center;
width:100%;
top:0;
display:block;
background-color:#f1f1f1;
height:100%;
margin:0;
position:relative
}
.post-container {
z-index:0;
/* top:400px; */
padding-bottom:10%;
max-height:100%;
}
.container {
width:100%;
margin:0 auto;
color:#000;
text-align:left;
margin-top:50px;
font-family:'Roboto',
sans-serif;
-moz-transition:all .3s ease-out;
-o-transition:all .3s ease-out;
-webkit-transition:all .3s ease-out
}
.eee {
width:100%;
margin:0 auto;
background-color:#7f73ba;
}
.ready {
font-family:'Proxima Nova' sans-serif;
font-size:3em;
text-align:center;
font-weight:400;
color:#fff;
}
.underline {
background-color:#fd665c;
width:55px;
height:8px;
margin:0 auto;
display:block;
position:relative;
text-align:center;
}
@media only screen and (max-width: 555px) {
.underline {
width:35px;
height:6px;
}
}
.container p {
-moz-columns:2;
-webkit-columns:2;
columns:2;
}
.Biographical-Content {
z-index:99999;
display:block;
top:-350px;
position:relative;
-moz-transition:all .3s ease-out;
-o-transition:all .3s ease-out;
-webkit-transition:all .3s ease-out;
transition:all .3s ease-out;
font-family:brandon-grotesque,
brandon-grotesque,
Futura,
sans-serif;
width:55%;
margin-left:auto;
text-align:center;
padding:0;
margin-right:auto
}
@media (max-width: 444px) {
.Biographical-Content {
top:-365px
}
}
@media (max-width: 333px) {
.Biographical-Content {
top:-375px
}
}
.Biographical-Content p {
margin-top:20px;
padding:0;
transition:all .3s ease-out;
font-size:20px;
line-height:2em
}
.Biographical-Content a,
.Biographical-Content p {
color:#000;
margin-top:50px;
font-family:'Roboto',
sans-serif;
-moz-transition:all .3s ease-out;
-o-transition:all .3s ease-out;
-webkit-transition:all .3s ease-out
}
@media (max-width: 1111px) {
.Biographical-Content {
width:70%
}
.Biographical-Content p {
font-size:18px;
line-height:1.8em
}
}
@media (max-width: 999px) {
.Biographical-Content {
width:75%
}
.Biographical-Content p {
font-size:17px;
line-height:1.6em
}
}
@media (max-width: 555px) {
.Biographical-Content p {
margin-top:15px;
}
.Biographical-Content {
width:80%
}
}
@media (max-width: 777px) {
.Biographical-Content p {
margin-top:18px;
}
}
@media (max-width: 444px) {
.Biographical-Content p {
font-size:13px;
line-height:1.4em
}
.Biographical-Content {
width:85%
}
}
.Biographical-Content a {
cursor:pointer;
color:#fd665c;
transition:all .3s ease-out
}
.hide,
.overlay-hugeinc {
visibility:hidden
}
.item {
text-align:center;
transition:all .3s ease-out;
float:left;
position:relative;
width:50%;
height:100%
}
.item-hover,
.item-hover .mask,
.item-img,
.item-info {
width:100%;
height:100%
}
.item-hover,
.item-hover .mask {
position:absolute;
top:0;
height:100%;
left:0
}
.item-type-double .item-hover {
z-index:5;
-webkit-transition:all 300ms ease-out;
-moz-transition:all 300ms ease-out;
-o-transition:all 300ms ease-out;
transition:all 300ms ease-out;
opacity:0;
cursor:pointer;
display:block;
text-align:center
}
.item-type-double .item-info {
color:#fff;
display:table;
position:relative;
z-index:5
}
.item-type-double .item-info div.mycell {
vertical-align:middle;
height:100%;
display:table-cell
}
.item-type-double .item-info .headline {
font-size:2.4em;
font-family:'Proxima Nova' sans-serif;
text-transform:uppercase;
width:90%;
margin:0 auto
}
@media (max-width: 500px) {
.item {
width:100%;
height:100%
}
}
@media (max-width: 888px) {
.item-type-double .item-info .headline {
font-size:1.8em;
text-transform:uppercase;
width:90%;
margin:0 auto
}
}
@media (max-width: 666px) {
.item-type-double .item-info .headline {
font-size:1.4em;
text-transform:uppercase;
width:90%;
margin:0 auto
}
}
@media (max-width: 444px) {
.item-type-double .item-info .headline {
font-size:1.3em;
text-transform:uppercase;
width:90%;
margin:0 auto
}
}
@media (max-width: 390px) {
.item-type-double .item-info .headline {
font-size:.8em;
text-transform:uppercase;
width:90%;
margin:0 auto
}
}
@media (max-width: 333px) {
.item-type-double .item-info .headline {
font-size:.6em;
text-transform:uppercase;
width:90%;
margin:0 auto
}
}
@media (max-width: 222px) {
.item-type-double .item-info .headline {
font-size:.5em;
text-transform:uppercase;
width:90%;
margin:0 auto
}
}
.item-type-double .item-info .date {
font-size:20px;
font-family:Canter;
text-transform:uppercase
}
@media (max-width: 444px) {
.item-type-double .item-info .date {
font-size:16px;
text-transform:uppercase
}
}
@media (max-width: 333px) {
.item-type-double .item-info .date {
font-size:10px;
text-transform:uppercase
}
}
.item-type-double .item-hover .mask {
background-color:#000;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
opacity:.5;
z-index:0
}
.item-type-double .item-hover:hover .line {
width:90%
}
.item-type-double .item-hover:hover {
opacity:1
}
.item-img {
width:100%;
z-index:0
}
.item-img img {
width:100%;
display:block
}
.hidden {
opacity:0
}
.visible {
opacity:1
}
.end {
min-height:5vh;
display:block;
position:relative;
text-align:center;
transition:all .3s ease-out;
line-height:5vh;
font-family:brandon-grotesque,
}
.end,
.endh4:hover {
color:#fff;
-moz-transition:all .3s ease-out;
-o-transition:all .3s ease-out;
-webkit-transition:all .3s ease-out
}
.endh4 {
font-family:brandon-grotesque;
color:#fff
}
.endh4:hover {
cursor:pointer;
transition:all .3s ease-out
}
.endh4 a {
color:#fff
}
.effects .img {
position:relative;
float:left;
width:50%;
overflow:hidden;
}
.effects .img img {
display:block;
margin:0;
width:100%;
padding:0;
max-width:100%;
height:auto;
}
.overlay5 {
display:block;
position:absolute;
z-index:20;
background:rgba(0,
0,
0,
0.3);
overflow:hidden;
-webkit-transition:all 0.5s;
-moz-transition:all 0.5s;
-o-transition:all 0.5s;
transition:all 0.5s;
}
a.expand {
display:block;
position:absolute;
text-transform:uppercase;
padding:1%;
z-index:100;
text-align:center;
color:#fff;
font-family:'Lekton',
sans-serif;
text-decoration:none;
font-weight:600;
font-size:35px;
}
#effect-6 .overlay5 {
top:0;
bottom:0;
left:0;
right:0;
opacity:0;
}
#effect-6 .overlay5 a.expand {
left:0;
right:0;
top:0;
margin:0 auto;
opacity:0;
-webkit-transition:all 0.5s;
-moz-transition:all 0.5s;
-o-transition:all 0.5s;
transition:all 0.5s;
}
#effect-6 .img.hover .overlay5 {
opacity:1;
}
#effect-6 .img.hover .overlay5 a.expand {
top:50%;
margin-top:-30px;
opacity:1;
}
@media only screen and (max-width: 1100px) {
.effects .img {
width:50%;
}
}
@media only screen and (max-width: 1100px) {
a.expand {
font-size:27px;
padding:10px;
}
}
@media only screen and (max-width: 520px) {
.effects .img {
width:100%;
}
}
@media only screen and (max-width: 520px) {
a.expand {
font-size:25px;
}
}
<div class="high-container">
<div class="global-container">
<div class=content-container>
<div class=row>
<div class="border red"></div>
<h1 class="title-role">
Hello Stackers
</h1>
</div>
<div class=post-container>
<div class=Biographical-Content>
<div class="step out-view"></div>
<!--Image-->
<br>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam nec leo vitae ligula mattis aliquet nec vitae risus. Pellentesque accumsan tempus fermentum. Suspendisse placerat, tortor lobortis convallis tincidunt, lorem nisl egestas tortor,
eget pharetra magna dolor ac lorem. In hac habitasse platea dictumst. Integer vitae ipsum consequat, laoreet ligula nec, rutrum lectus. Nulla fringilla, lectus sed malesuada interdum, risus mi bibendum mi, nec facilisis urna arcu in lectus.
Suspendisse erat ex, eleifend et lorem non, pulvinar volutpat lorem. Pellentesque gravida euismod nulla, scelerisque placerat nibh facilisis a. Ut eleifend interdum placerat. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
<!--<div class="container">
<p>My favourite book is <a href=https://en.wikipedia.org/wiki/The_Prince>The Prince</a> by Nicolo Machievelli. My favourite dish is <a href=http://lifestyle.sapo.pt/sabores/receitas/arroz-de-marisco>Arroz De Marisco.</a> This website has been recently created so content is being added concurrently.
</p>
</div>-->
</div>
</div>
</div>
<div class="other-contain">
<div class="workwork">
</div>
<div class="My-Gems">
<div id="effect-6" class="effects clearfix">
<div class="img">
<img src="http://www.savoringthesweetlife.com/Portfolio/I-Do-Wedding-Portfolio/i-XbTmRFg/0/L/www.SavoringTheSweetLife.com%20Photography%20Wedding%20of%20Marianne%20and%20Dana-429-L.jpg" style="height:100%;" alt="">
<div class="overlay5">
<a href="#" class="expand">The Wedding of The Year</a>
</div>
</div>
<div class="img">
<img src="http://kadeem.london/Image/Money-Matters-Logo.png" alt="">
<div class="overlay5">
<a href="#" class="expand">Money Matters</a>
</div>
</div>
</div>
</div>
</div>
<div class="eee">
<div class="ready">
<div class="underline"></div><a>Posts</a>
<div class="journal">
<div class="blogpost b1">
<div class="journal-tags">
<a href="#">Design</a>
</div>
<div class="journal-title">
<h3><a href="">The Fwad Logo</a></h3>
</div>
</div>
<div class="blogpost b2">
<div class="journal-tags">
<b><a href="#">Event</a></b>
</div>
<div class="journal-title">
<h3><a href="">Contrabang: The Event</a></h3>
</div>
</div>
<div class="blogpost b3">
<div class="journal-tags">
<a href="#">Marketing</a>
</div>
<div class="journal-title">
<h3><a href="/blog/opinions/who-you-are-is-where-you-ve-been">Becoming a Brand: The Dos and Don'ts</a></h3>
</div>
</div>
<div class="blogpost b4">
<div class="journal-tags">
<b><a href="#">Journal</a></b>
</div>
<div class="journal-title">
<h3><a href="/blog/opinions/3-things-brands-can-learn-from-caitlyn-jenner">The Political Implications of Events</a></h3>
</div>
</div>
<div class="blogpost b5">
<div class="journal-tags">
<a href="#">Urban</a>
</div>
<div class="journal-title">
<h3><a href="/blog/opinions/the-chancellor-s-googly-re-emphasises-insurance-s-need-for-content">Rebranding London</a></h3>
</div>
</div>
<div class="blogpost b6">
<div class="journal-tags">
<a href="#">Marketing</a>
</div>
<div class="journal-title">
<h3><a href="/blog/work/meet-the-boss">Digital Content: The Ebook</a></h3>
</div>
</div>
</div>
</div>
</div>
<!--My Gems-->
</div>
<!--Post Container-->
</div>
<!--Content Container-->
</p>
</p>
</div>
</div>
</div>
<body>
</body>
<footer class="goodbye">
<div class="text-go">LOREM
<h6 style="color:#fff;">
Lorem ipsum dolor sit amet..<br>
</h6>
</div>
<div class="container1">
<footer class="footer">
<div class="container1">
<div class="flex-item">Lorem</div>
<!-- <div class="flex-item"> <a href="NO">CNTRA</a> / <a href="">FWAD</a> / <a href="">UCOMPARE</a> / <a href="">BASE</a> / <a href="#">MIGHT</a> / <a href="">CONTRABANG</a> / <a href="">FACE</a> / <a href="">BLOOOOM </a></div>
<div class="flex-item"><a href="mailto:kadeemlaurie@gmail.com">contact@kadeem.london</a></div>-->
</div>
</footer>
</div>
</div>
关于html - 阻止 div 在响应式网站上移动和显示父级背景,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32965851/
我目前正在寻找一些关于 jQuery 的建议,因为我认为我做错了,即使我得到了我想要的结果。 我想在更改时将输入的值更改为最接近的具有 .milestone 类的输入的值。我想要更改的输入是保持输入,
我已经阅读有关绑定(bind)、调用、申请的文章近一周了,对我来说仍然很复杂。我想我写的这个 jsfiddle 需要它们。然而,我没能做到,因为我仍然很困惑。 我尽力写了一些我上周从遇到这个问题的开发
我有一个项目生成代码。生成时间真的很长,所以我把它分成了多个项目,每个项目产生了整体的 20%。原始 POM 成为“父 POM”,子项依赖于它,仅包含一个单独的 Artifact ID 和一两个更改的
我正在使用局部 View 来创建父 subview 。我最理想的是父 View 上的提交按钮,用于保存子值。 我有以下模型。 public class Course { public int
我刚刚开始学习Rust,并且在理解所有权如何在我的案例中遇到一些麻烦: use std::ops::IndexMut; // =====================================
我是 JavaScript 新手,想了解更多有关它实例化父/子对象的顺序的信息。更具体地说,我想从编译器/浏览器的 Angular 理解以下代码片段。 var parent = { child:
我正在测试 Azure IaaS,并遇到了一个非常基本的问题。我有一个父 VHD 和子 VHD,已使用 csupload 将其作为页面 blob 上传,并且门户中显示图像和磁盘。然后我尝试将 pare
我的应用程序会定期为我坚持使用的对象请求更新 Core Data到网络服务。然后我需要更新我在主要上下文中拥有的对象(默认情况下 AppDelegate 中提供的对象)。编辑对象的不是用户,所以我需要
texT text text text text text 如何直接获取来自.menu ? 里面的 child 不应该采取。
我一直需要影响与其他元素相关的元素,但我的方法有点业余! 即到 // matched item where script is called from LINK 我使用; $(thi
我有两个表: 父子“类别”: id name parent_id 1 Food NULL 2 Pizza 1 3 Pasta
Linux 上的 Python 2.7.6。 我正在使用从父级继承的测试类。父类保存了许多子类共有的许多字段,我需要调用父类的 setUp 方法来初始化这些字段。调用 ParentClass.setU
我有一个处理图像、相册和相册类别的数据库。 一个专辑可以有多个专辑(子专辑),并且只有 1 级深度。 一张专辑仅属于一个专辑类别。 在这里做了一些研究,我相信最合适的数据库模型是这个 album_ca
我有一个关键字表,其中每个关键字都分配有一个 ID,并且是唯一的。我有第二个表,将父关键字的 ID 链接到子关键字的 ID。一个关键字最多可以有大约 800 个 child 或根本没有。 child
我经常使用这个 CSS 选择器 parent>child。我的设计在 Mozilla 和 Opera 中看起来不错。 但在 IE 中,它很糟糕。我知道 > 在 IE 中无法识别,但在 IE 中有什么替
我一直在用一个父对象构建一个系统,它在其中创建各种子对象,每个子对象都需要一个主对象才能运行。现在,到目前为止,我一直在创建 shared_ptr和 Child* ,所以当 Parent 和 所有 C
我从以下两个类中收到序列化兼容性错误。只有父类CommericalCustomer 实现了序列化。当具有如下所示的父/子关系时,使用可序列化接口(interface)的正确方法是什么? public
我正在开发一个程序并学习父/子进程。目前我的子进程是 exit(variable); 在我的 main() 中我有: signal(SIGCHLD, chldHandler); 在我的 main()
考虑以下两个具体类: public class A { protected void foo() { System.out.println("A foo"); bar
所以,我正在尝试建立这样的父/子类关系: class ParentClass where C : ChildClass { public void AddChild(C child)
我是一名优秀的程序员,十分优秀!