Also arbeite ich daran, meine Website reaktionsfähig zu machen und habe Probleme nach dem 1700px Breakpoint.Media Query Struggles
Hier ist mein html:
<div class="container-1">
<div class="header">
<h2>OneDrive/ODB</h2><br><a class="one" href="#Anchor">Report a SharePoint bug here</a>
</div>
<div class="table-col-1">
<div class="border-1">
<div class="table-head-1">
<h1>Issues with OneDrive/ODB on the web?</h1>
</div>
<div class="text-container">
<p class="table-text">Post and vote on feature suggestions & improvements on UserVoice:</p>
<br><a href="#" class="button">ODC/ODB web</a>
</div>
</div>
</div>
Meine CSS für vorherigen Haltepunkt:
.table-col-1{
padding: 1.5em;
display: inline-block;
width: 20%;
}
.table-head-1{
padding: 1.5em;
background-color: #515251;
display: inline-block;
border-bottom: 2px solid #000000;
}
.table-text{
font-size: 15px;
line-height: 18px;
padding-bottom: 1.5em;
}
.text-container{
padding-top: 1.5em;
padding-bottom: 3em;
}
.border-1{
border: 2px solid #000000;
}
Meine CSS für den Haltepunkt, der nicht funktioniert hat:
@media screen and (min-width: 1700px) and (max-width: 4000px){
.table-head-1{
padding: 1.3em;
background-color: #515251;
display: inline-block;
border-bottom: 2px solid #000000;
}
}
Wenn ich versuche, eine Breite hinzuzufügen, sagen wir 100%, oder sogar .table-col-1
, bekomme ich diese issue.
Bitte helfen. Vielen Dank!
Danke, das hat funktioniert! – mp849