fixed displaying on tablet
This commit is contained in:
@@ -46,7 +46,7 @@
|
|||||||
|
|
||||||
<div class="container-fixed">
|
<div class="container-fixed">
|
||||||
<div class="row justify-content-start">
|
<div class="row justify-content-start">
|
||||||
<div class=" col-sm-12 col-md-12 col-lg-10 col-xl-6" id="quote-2-high">
|
<div class=" col-sm-12 col-md-12 col-lg-6 col-xl-7" id="quote-2-high">
|
||||||
<div class="card bg-light" >
|
<div class="card bg-light" >
|
||||||
<h4 class="card-header">Simulation</h4>
|
<h4 class="card-header">Simulation</h4>
|
||||||
<p class="card-text"><center><canvas id="myCanvas" width="750" height="750" style="border: solid 2px black;">Your browser does not support HTML 5</canvas> </center></p>
|
<p class="card-text"><center><canvas id="myCanvas" width="750" height="750" style="border: solid 2px black;">Your browser does not support HTML 5</canvas> </center></p>
|
||||||
|
|||||||
29
style.css
29
style.css
@@ -75,9 +75,28 @@ ul {
|
|||||||
list-style-position: inside;
|
list-style-position: inside;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 1873px) {
|
|
||||||
.fix{
|
|
||||||
margin-top: 10px;
|
@media (max-width: 768px) {
|
||||||
min-width: 75%;
|
.container-fixed{
|
||||||
|
width:600px;
|
||||||
|
}}
|
||||||
|
|
||||||
|
@media (max-width: 992px) {
|
||||||
|
.container-fixed{
|
||||||
|
width:720px;
|
||||||
|
}}
|
||||||
|
|
||||||
|
@media (max-width: 1200px) {
|
||||||
|
.container-fixed{
|
||||||
|
width:900px;
|
||||||
|
}}
|
||||||
|
|
||||||
|
@media (max-width: 1900px) {
|
||||||
|
.container-fixed{
|
||||||
|
width:1250px;
|
||||||
}
|
}
|
||||||
}
|
#quote-2-high{
|
||||||
|
max-width: 790px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user