Have a Full Screen Width Background in a responsive grid site
Date : March 29 2020, 07:55 AM
it should still fix some issue In the end I could not find an answer so I had to redo the base structure of the theme, and do it the "right" way
|
convert any site into responsive site through bootstrap error
Date : March 29 2020, 07:55 AM
To fix this issue Its is very easy to make your website responsive with bootstrap just include bootstrap library. You can download it from here and you can also include on-line library of bootstrap <!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
<!-- Optional theme -->
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css">
<!-- Latest compiled and minified JavaScript -->
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
|
Creating responsive grid based web page
Tag : html , By : KaoFloppy
Date : March 29 2020, 07:55 AM
help you fix your problem I want to display static naive bar in top and rest entire page into grid of 6 column and increasing rows. , Why display page still looks empty? <div class=container_6>
<div class=grid_1></div>
<div class=grid_1></div>
<div class=grid_1></div>
<div class=grid_1></div>
<div class=grid_1></div>
<div class=grid_1></div>
</div>
/* ---------- Containers ---------- */
.container_6 {
margin-left: auto;
margin-right: auto;
width: 1122px;
}
.grid_1 {
background-color: #FF0000;
height: 300px;
}
|
Creating a responsive grid that expands based on content size without using flexbox, CSS grid, calc or javascript, IE9+
Tag : html , By : gbodunski
Date : March 29 2020, 07:55 AM
hop of those help? Here is a simple sample showing how you could do, switching between display: table-cell and display: block; Note the comment in the markup, that get rid of the inline block element white space (here is more ways to do that: how-to-remove-the-space-between-inline-block-elements) .dtable { display: table; width: 100%; }
.dtcell { display: table-cell; padding: 10px; }
.dtcptn { display: table-caption; }
.dtrow { display: table-row; }
.dtcell:first-child {
width: 1px;
}
.dtcell:first-child span {
display: inline-block;
border: 1px solid;
box-sizing: border-box;
}
.dtcell:first-child span:last-child {
display: none;
}
.dtcell:last-child div {
border: 1px solid;
box-sizing: border-box;
}
.dtcell:last-child span {
display: inline-block;
width: 50%;
border: 1px solid;
box-sizing: border-box;
}
@media screen and (max-width: 600px) {
.dtcell:first-child {
width: 100%;
}
.dtcell:first-child span:last-child {
display: inline-block;
}
.dtcell,
.dtcell:last-child span {
display: block;
width: auto;
}
.dtcell:last-child div {
display: none;
}
}
<div id="container" class="dtable">
<div id="header" class="dtrow">
<div class="dtcell" id="logo">
<span>logo</span>
<span>hamburgermenu</span>
</div>
<div class="dtcell">
<div>links</div>
<span>phone</span><!--
--><span>social</span>
</div>
</div>
</div>
|
Can I make grid responsive based on image movement in css grid?
Date : March 29 2020, 07:55 AM
wish of those help Using object-fit:fill or object-fit:cover seemed to help for me. Although I was getting weird inconsistencies with codepen. Please let me know if that helps. .hero {
max-width: 1940px;
position: relative;
grid-area: hero;
}
.hero img {
display: block;
height: 100%;
width:100%;
object-fit: fill;
object-position: center;
}
|