@media screen and (max-width: 759px){
#contentm{
display: grid;
grid-template-columns: 185px 145px;
grid-template-rows: 120px 120px 60px 60px 120px 120px 80px 80px;
grid-gap: 2px;
max-width: 759px;
margin: 0 auto;
grid-template-areas:
"box1m box1m"
"box2m box6m"
"box3m box6m "
"box3m box7m"
"box4m box7m"
"box11m box5m"
"box10m box10m"
"box9m box8m" ;
}
}
/* desktop grid */
@media screen and (min-width: 760px){
#content{
display: grid;
grid-template-columns: 350px 175px 175px 234px;
grid-template-rows: 200px 100px 100px 200px 110px 110px;
grid-gap: 5px;
grid-template-areas:
"box1 box1 box1 box6"
"box2 box3 box3 box7"
"box2 box3 box3 box7"
"box8 box8 box8 box11"
"box4 box4 box10 box10"
"box4 box4 box9 box9";
}
}
box1 {
grid-area: box1;
background-image: url("https://raw.githubusercontent.com/philrobb/Landing_Pages/master/Temp_Buttons/Fanshop/Desktop/desktopcomputerbuttons/710x200%20flagship%20button%20BN.jpg");
color: white;
text-align: center;
font-size: 3rem;
background-color: blue;
background-repeat: no-repeat;
background-size: 100% 100%;
border-radius: 12px;
}
box2 {
grid-area: box2;
background-image: url("https://raw.githubusercontent.com/philrobb/Landing_Pages/master/Temp_Buttons/Fanshop/Desktop/desktopcomputerbuttons/350x205%20men%20sport%20buttons%20BN%202020.jpg");
background-repeat: no-repeat;
color: white;
text-align: center;
font-size: 3rem;
background-color: blue;
background-size: 100% 100%;
border-radius: 12px;
}
box3{
grid-area: box3;
background-image: url("https://raw.githubusercontent.com/philrobb/Landing_Pages/master/Temp_Buttons/Fanshop/Desktop/desktopcomputerbuttons/350x205%20women%20sport%20buttons%20BN%202020.jpg");
background-repeat: no-repeat;
color: white;
text-align: center;
font-size: 3rem;
background-color: blue;
background-size: 100% 100%;
border-radius: 12px;
}
box4{
grid-area: box4;
background-image: url("https://raw.githubusercontent.com/philrobb/Landing_Pages/master/Temp_Buttons/Fanshop/Mobile/mobilebnbuttons/530x225%20Infant.jpg");
background-repeat: no-repeat;
color: white;
text-align: center;
font-size: 3rem;
background-color: blue;
background-size: 100% 100%;
border-radius: 12px;
border-style: solid;
border-color: navy;
border-width: thin;
}
box5{
grid-area: box5;
background-image: url("https://raw.githubusercontent.com/philrobb/Landing_Pages/master/Temp_Buttons/Fanshop/Desktop/cheering.jpg");
color: white;
text-align: center;
font-size: 3rem;
background-color: blue;
background-repeat: no-repeat;
background-size: 100% 100%;
border-radius: 12px;
}
box6 {
grid-area: box6;
background-image: url("https://raw.githubusercontent.com/philrobb/Landing_Pages/master/Temp_Buttons/Fanshop/Desktop/desktopcomputerbuttons/234x200%20New%20Balance%20button%20BN.jpg");
color: white;
text-align: center;
font-size: 3rem;
background-color: blue;
background-repeat: no-repeat;
background-size: 100% 100%;
border-radius: 12px;
}
box7 {
grid-area: box7;
background-image: url("https://raw.githubusercontent.com/philrobb/Landing_Pages/master/Temp_Buttons/Fanshop/Desktop/desktopcomputerbuttons/234x200%20legacy%20button%20BN.jpg");
color: white;
text-align: center;
font-size: 3rem;
background-color: blue;
background-repeat: no-repeat;
background-size: 100% 100%;
border-radius: 12px;
}
box8 {
grid-area: box8;
background-image: url("https://raw.githubusercontent.com/philrobb/Landing_Pages/master/Temp_Buttons/Fanshop/Desktop/desktopcomputerbuttons/710x200%20jerseysbutton%20BN.jpg");
color: white;
text-align: center;
font-size: 3rem;
background-color: blue;
background-repeat: no-repeat;
background-size: 100% 100%;
border-radius: 12px;
}
box9 {
grid-area: box9;
background-image: url("https://raw.githubusercontent.com/philrobb/Landing_Pages/master/Temp_Buttons/Fanshop/Desktop/desktopcomputerbuttons/414x110%20sale%20button%20BN.jpg");
color: white;
text-align: center;
font-size: 3rem;
background-color: blue;
background-repeat: no-repeat;
background-size: 100% 100%;
border-radius: 12px;
}
box10 {
grid-area: box10;
background-image: url("https://raw.githubusercontent.com/philrobb/Landing_Pages/master/Temp_Buttons/Fanshop/Desktop/desktopcomputerbuttons/414x110%20fan%20gear%20button%20BN.jpg");
color: white;
text-align: center;
font-size: 3rem;
background-color: blue;
background-repeat: no-repeat;
background-size: 100% 100%;
border-radius: 12px;
}
box11 {
grid-area: box11;
background-image: url("https://raw.githubusercontent.com/philrobb/Landing_Pages/master/Temp_Buttons/Fanshop/Desktop/desktopcomputerbuttons/234x200%20face%20covering%20button%20BN.jpg");
color: white;
text-align: center;
font-size: 3rem;
background-color: blue;
background-repeat: no-repeat;
background-size: 100% 100%;
border-radius: 12px;
}
@media screen and (max-width: 759px){
box1m {
grid-area: box1m;
background-image: url("https://raw.githubusercontent.com/philrobb/Landing_Pages/master/Temp_Buttons/Fanshop/Mobile/mobilebnbuttons/BN%20145x120%20Flagship%20buttons.jpg");
background-color: blue;
background-repeat: no-repeat;
background-size: 100% 100%;
border-radius: 12px;
border-style: solid;
border-color: navy;
border-width: thin;
}
box2m {
grid-area: box2m;
background-image: url("https://raw.githubusercontent.com/philrobb/Landing_Pages/master/Temp_Buttons/Fanshop/Mobile/mobilebnbuttons/BN%20185x120%20NB%20buttons.jpg");
background-color: blue;
background-repeat: no-repeat;
background-size: 100% 100%;
border-radius: 12px;
border-style: solid;
border-color: navy;
border-width: thin;
}
box3m{
grid-area: box3m;
background-image: url("https://raw.githubusercontent.com/philrobb/Landing_Pages/master/Temp_Buttons/Fanshop/Mobile/mobilebnbuttons/BN%20185x120%20Jerseys%20buttons.jpg");
background-color: blue;
background-repeat: no-repeat;
background-size: 100% 100%;
border-radius: 12px;
border-style: solid;
border-color: navy;
border-width: thin;
}
box4m{
grid-area: box4m;
background-image: url("https://raw.githubusercontent.com/philrobb/Landing_Pages/master/Temp_Buttons/Fanshop/Mobile/mobilebnbuttons/BN%20185x120%20Youth%20buttons.jpg");
background-repeat: no-repeat;
background-color: blue;
background-size: 100% 100%;
border-radius: 12px;
border-style: solid;
border-color: navy;
border-width: thin;
}
box5m{
grid-area: box5m;
background-image: url("https://raw.githubusercontent.com/philrobb/Landing_Pages/master/Temp_Buttons/Fanshop/Mobile/mobilebnbuttons/BN%20145x120%20legacy%20buttons.jpg");
background-repeat: no-repeat;
background-color: blue;
background-size: 100% 100%;
border-radius: 12px;
border-style: solid;
border-color: navy;
border-width: thin;
}
box6m{
grid-area: box6m;
background-image: url("https://raw.githubusercontent.com/philrobb/Landing_Pages/master/Temp_Buttons/Fanshop/Mobile/mobilebnbuttons/BN%20145x182%20Men%20buttons.jpg");
background-repeat: no-repeat;
background-color: blue;
background-size: 100% 100%;
border-radius: 12px;
border-style: solid;
border-color: navy;
border-width: thin;
}
box7m{
grid-area: box7m;
background-image: url("https://raw.githubusercontent.com/philrobb/Landing_Pages/master/Temp_Buttons/Fanshop/Mobile/mobilebnbuttons/BN%20145x182%20Womens%20buttons2.jpg");
background-repeat: no-repeat;
background-color: blue;
background-size: 100% 100%;
border-radius: 12px;
border-style: solid;
border-color: navy;
border-width: thin;
}
box8m{
grid-area: box8m;
background-image: url("");
background-repeat: no-repeat;
background-color: white;
background-size: 100% 100%;
border-radius: 12px;
border-width: thin;
}
box9m{
grid-area: box9m;
background-image: url("https://raw.githubusercontent.com/philrobb/Landing_Pages/master/Temp_Buttons/Fanshop/Mobile/mobilebnbuttons/BN%20145x80%20sale%20buttons.jpg");
background-repeat: no-repeat;
background-color: blue;
background-size: 100% 100%;
border-radius: 12px;
border-style: solid;
border-color: navy;
border-width: thin;
}
box10m{
grid-area: box10m;
background-image: url("https://raw.githubusercontent.com/philrobb/Landing_Pages/master/Temp_Buttons/Fanshop/Mobile/mobilebnbuttons/BN%20332x80%20fan%20gear%20buttons.jpg");
background-repeat: no-repeat;
background-color: blue;
background-size: 100% 100%;
border-radius: 12px;
border-style: solid;
border-color: navy;
border-width: thin;
}
box11m{
grid-area: box11m;
background-image: url("https://raw.githubusercontent.com/philrobb/Landing_Pages/master/Temp_Buttons/Fanshop/Mobile/mobilebnbuttons/BN%20185x120%20face%20covering%20buttons.jpg");
background-repeat: no-repeat;
background-color: blue;
background-size: 100% 100%;
border-radius: 12px;
border-style: solid;
border-color: navy;
border-width: thin;
}
}
#clickable {
display:block;
height:100%;
width:100%;
border-radius: 15px;
}
a:hover#flagship {
background-color: black;
opacity: .3;
}
a:hover#clickable {
background-color: black;
opacity: .3;
}
#clickable_rotate {
border-radius: 15px;
}
a:hover#clickable_rotate {
background-color: black;
opacity: .3;
}
img.rotating_images{
border: 1px solid navy;
border-radius: 15px;
}
#clickable_rotate {
border-radius: 15px;
}
a:hover#clickable_rotate {
background-color: black;
opacity: .3;
}
#carousel-example-generic a.carousel-control {
height: 100%;
width: 35px;
background-color:none;
//add your own CSS as you need
}