background
Publicado por Elis Diaz (1 intervención) el 22/04/2020 03:03:09
Hola necesito ayuda para realisar una pagina web con html5 y css
me puden ayudar a hacer este codigo
BACKGROUND-REPEAT
BACKGROUND-POSITION
BACKGROUND-SIZE
y me pueden explicar como colocar la imagen o como colocar el link para que se vea
me puden ayudar a hacer este codigo
BACKGROUND-REPEAT
1
2
3
4
background-image:url('logo-crossfit.png');
background-repeat:no-repeat;
background-repeat:repeat-x;
background-repeat:repeat-x;
BACKGROUND-POSITION
1
div{width:400px;height:200px;border:1px solid #000;} .posicionamiento-background{ background-image:url('logo-crossfit.png'); background-repeat:no-repeat; background-position:0% 0%; /*superior izquierdo*/ background-position:50% 0; /**/ background-position:100% 0; /*extremo superior derecho*/ background-position:0 50%; /**/ background-position:0 100%; /*extremo inferior izquierdo*/ background-position:100% 100%; /*inferior derecho*/ background-position:50% 50%; /*en el centro*/}
BACKGROUND-SIZE
1
div{width:600px;height:600px;border:1px solid #000;} .background-size { background-image:url('gato-perro.jpg'); background-repeat:no-repeat; /*background-size:cover;*/ /*background-size:contain;*/ }
y me pueden explicar como colocar la imagen o como colocar el link para que se vea
Valora esta pregunta


-1