Mobile css

  • eudezet
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 11 months ago #24899 by eudezet
Mobile css was created by eudezet
Hi,

First of all I have to tell that Sparky template is great :) But I'm thinking how I can put there function that allows me to make width dimension and load different css file below that number. Something like layout css to 640px and mobile css <640. Any ideas how to do this?

Regards

Please Log in to join the conversation.

More
11 years 11 months ago #24931 by ivan.milic
Replied by ivan.milic on topic Mobile css
@media(max-width:640px){
.somecssclass1{
...properties for under 640px
}

.somecssclass2{
...properties for under 640px
}
}

put that at bottom of template_css.css so that css takes advantage

Please Log in to join the conversation.

Time to create page: 0.185 seconds
Powered by Kunena Forum