CSS

Diseño y Programación
19
febrero 2015

Css para moviles y pantallas

Crear css particulares para los moviles o para diferentes resoluciones de pantallas

Ejemplo

@media screen and (max-width: 300px){
       body{
            background-color: lightblue;
    }
}

Reglas para @media –> w3schools

all Used for all media type devices
aural Deprecated. Used for speech and sound synthesizers
braille Deprecated. Used for braille tactile feedback devices
embossed Deprecated. Used for paged braille printers
handheld Deprecated. Used for small or handheld devices
print Used for printers
projection Deprecated. Used for projected presentations, like slides
screen Used for computer screens, tablets, smart-phones etc.
speech Used for screenreaders that “reads” the page out loud
tty Deprecated. Used for media using a fixed-pitch character grid, like teletypes and terminals
tv Deprecated. Used for television-type devices
Shared
No Comments

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *