Search
 
SCRIPT & CODE EXAMPLE
 

CSS

css different sreen size

/* For Mobile */
@media screen and (max-width: 540px) {
    .view {
        width: 400px;
    }
}

/* For Tablets */
@media screen and (min-width: 540px) and (max-width: 780px) {
    .view {
        width: 600px;
    }
}
Comment

PREVIOUS NEXT
Code Example
Css :: active pseudo class in css not working in form text area 
Css :: Css style on particular screen 
Css :: gameloop programming language 
Css :: css invert columns 
Css :: bold in label html 
Css :: faire un fond fade to transparent css 
Css :: associate checkbox with label 
Css :: react native flatlist styled height fit content 
Css :: second child css 
Css :: sm size website 
Css :: steps() property css 
Css :: sass loop columns 
Css :: apply css if class not present 
Css :: how to change what twine looks like 
Css :: line break inside content css 
Css :: nth-child() css 
Css :: tailwind border color with gradient 
Css :: css first h element 
Css :: css content from data attribute 
Css :: center items 
Css :: background shorthand css 
Css :: css background color over image 
Css :: texting getting out of box css 
Css :: how to center a inline block element 
Css :: css counters 
Css :: css attr(data-hover) 
Css :: text decoration underline not removing 
Css :: scrollbar height css 
Css :: print not showing background image 
Css :: test shadow css 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =