DOCTYPE HTML
DOCTYPE HTML
DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
</head>
<body>
<header>
<h1 class="titulo">SONET <span>Soluciones en
Tecnologia</span></h1>
</header>
<div class="nav-bg">
<nav class="navegacion-principal contenedor ">
<a href="#">Iniciar</a>
<a href="#">Sobre Sonet</a>
<a href="#">Consumidores</a>
<a href="#">contactanos</a>
</nav>
</div>
<section class="internett">
<div class="contenido-int">
<h2>Diseno de redes LAN </h2>
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-
tabler icon-tabler-3d-cube-sphere" width="72" height="72"
viewBox="0 0 24 24" stroke-width="2.5" stroke="#00abfb" fill="none"
stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<path d="M6 17.6l-2 -1.1v-2.5" />
<path d="M4 10v-2.5l2 -1.1" />
<path d="M10 4.1l2 -1.1l2 1.1" />
<path d="M18 6.4l2 1.1v2.5" />
<path d="M20 14v2.5l-2 1.12" />
<path d="M14 19.9l-2 1.1l-2 -1.1" />
<line x1="12" y1="12" x2="14" y2="10.9" />
<line x1="18" y1="8.6" x2="20" y2="7.5" />
<line x1="12" y1="12" x2="12" y2="14.5" />
<line x1="12" y1="18.5" x2="12" y2="21" />
<path d="M12 12l-2 -1.12" />
<line x1="6" y1="8.6" x2="4" y2="7.5" />
</svg>
<p>Tepetitlan Hidalgo</p>
<h2>Mis servicios</h2>
<div class="servicios">
<section class="servicio">
<h3>Soporte a Equipos de Computo</h3>
<div class="iconos">
<svg xmlns="http://www.w3.org/2000/svg" class="icon
icon-tabler icon-tabler-devices-pc" width="72" height="72"
viewBox="0 0 24 24" stroke-width="2.5" stroke="#00abfb" fill="none"
stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<path d="M3 5h6v14h-6z" />
<path d="M12 9h10v7h-10z" />
<path d="M14 19h6" />
<path d="M17 16v3" />
<path d="M6 13v.01" />
<path d="M6 16v.01" />
</svg>
</div>
<p>Sonet, soluciones en tecnologia
informatica,contamos con el personal mas capacitado. </p>
</section>
</section>
<section class="servicio">
<h3>Radio Enlaces</h3>
<div class="iconos">
<svg xmlns="http://www.w3.org/2000/svg"
class="icon icon-tabler icon-tabler-antenna-bars-5" width="72"
height="72" viewBox="0 0 24 24" stroke-width="2.5" stroke="#00abfb"
fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<line x1="6" y1="18" x2="6" y2="15" />
<line x1="10" y1="18" x2="10" y2="12" />
<line x1="14" y1="18" x2="14" y2="9" />
<line x1="18" y1="18" x2="18" y2="6" />
</svg>
<svg xmlns="http://www.w3.org/2000/svg"
class="icon icon-tabler icon-tabler-arrows-maximize" width="72"
height="72" viewBox="0 0 24 24" stroke-width="2.5" stroke="#00abfb"
fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<polyline points="16 4 20 4 20 8" />
<line x1="14" y1="10" x2="20" y2="4" />
<polyline points="8 20 4 20 4 16" />
<line x1="4" y1="20" x2="10" y2="14" />
<polyline points="16 20 20 20 20 16" />
<line x1="14" y1="14" x2="20" y2="20" />
<polyline points="8 4 4 4 4 8" />
<line x1="4" y1="4" x2="10" y2="10" />
</svg>
</div>
<p>Realizamos los enlaces con diferentes tecnologias
de comunicacion</p>
</section>
</div><!--cierre clase servicios-->
</main >
<section>
<h3 class="titulo">Contacto</h3>
<form class="formulario">
<fieldset>
<legend>Contactanos llamando o llenando los
campos</legend>
<div class="contenedor-campos">
<div class="campo">
<label>Nombre</label>
<input type="Tex" placeholder="Tu nombre">
</div>
<div class="campo">
<label>Telefono</label>
<input type="Tex" placeholder="Tu telefono">
</div>
<div class="campo">
<label>Correo</label>
<input type="Tex" placeholder="Tu correo">
</div>
<div class="campo">
<label>Mensaje</label>
<textarea></textarea>
</div>
</div>
<div>
<input class="boton" type="submit"
value="Enviar">
</div>
</fieldset>
</form>
</section>
<footer class="footer">
<p>Todos los derechos reservados.sonet</p>
</footer>
</body>
</html>
Css
:root
/* paleta de colores */
{
--blanco: rgb(255, 255, 255);/*variables de css*/
--azul:#c0df14;
--rojo:rgb(255, 0, 0);
--fuente-principal:3.8 rem;
--morado:rgb(223, 21, 223);
--negro:rgba(12, 11, 11, 0.808);
/*puedes almacenar cualquier valor*/
}
html
{
font-size: 62.5%;
scroll-snap-type: y mandatory;
}
body /*lo que se agregue aqui lo carga de manera general a todo el
doc*/
{
font-size: 16px;
background-image:linear-gradient(to top,#DFEFF3 0%,var (--
blanco) 100%);/*inicio debradado*/
}
span
{
font-size: 2rem;/*da colores a parrafos dentro de una etiqueta*/
}
/*color a la barra*/
.nav-bg
{
background-color:var(--azul);
}
/*termina color a la barra*/
.navegacion-principal /*clase principal*/
{
padding:1rem;/*1rem 1rem 1rem 1rem;*/
display:flex;/*display */
flex-direction:row;/*los elemntos se colocan de izquierda a
derecha*/
justify-content:space-around;/*el contenido se distribuye.
iniciar,sobre sonet,consumidores*/
}
.navegacion-principal a /*clase navegacion-principal y hago enfoque
al elemento a*/
{
color:var(--rojo) ;
text-decoration:none;/*decorar*/
font-size: 2rem;
font-weight: 700;
}
@media(max-width:980px)
{
body
{
background-color:maroon;
}
.internett
{
background-image:url(../imagenes/imagee.png);/*insertar la imagen*/
background-repeat: no-repeat;/*no se repita*/
background-size:cover ;/*ocupe todo el espacio de la pagina*/
height: 380px;/*altura*/
position:relative;/*posicion relativa*/
}
/*fin de colocoar imagen*/
.contenido-int
{
position:absolute;/*posicion de la imagen*/
/*background-color: rgba(0, 0, 0,.4);/*transparencia donde .8 es el
*/
background-color: rgb(0 0 0 /40%);/*transparencia actual*/
width: 100%;/*dimencion*/
height:100%;/*dimenciom*/
}
.contenido-int
{
display:flex;
flex-direction: column;/*hace que se vaya de arriba a bajo*/
align-items: center;/*centro todo el contenido*/
}
}
/*fin dar contenido a texto*/
/**servicios**/
.servicios
{
display: grid;
/**grid-template-columns: 33.3% 33.3% 33.3%; **/
/**grid-template-columns: 1fr 1fr 1fr; **/
grid-template-columns: repeat(3 ,1fr); /**crea 3 columnas**/
column-gap: 1rem; /**separacion**/
}
.servicio h3
{
color:rgb(255, 0, 0);
font-weight: normal;
}
.servicio p
{
line-height: 3;
}
.servicio .iconos /***bordes a los iconos*/
{
height: 15rem;
width:15rem ;
background-color:rgb(148, 71, 71);
border-radius:50% ;
display: flex;
justify-content:space-evenly;
align-items: center;
}
/**formulario **/
.formulario fieldset
{
border:none ;
}
.formulario
{
background-color: rgb(255, 0, 0);
width: min(60rem,100rem);
margin: 0 auto;
padding:2rem ;/**espacio en todas direcciones**/
border-radius: 2rem;
}
.formulario legend
{
text-align:center;
font-size: 1.8rem;
text-transform: uppercase;
font-weight: 700;
margin-bottom: 2rem;/**separacion**/
}
.contenerdor-campos
{
display: grid;
grid-template-columns: 50% 50%;
.campo
{
margin-bottom: 1rem;/**separacion**/
}
.campo label
{
color: black;
font-weight: bold;
margin-bottom: .5rem;
display: block;
}
.input-text
{
background-color: rgb(182, 77, 147);
width: 100%;
border:none;
padding: 1.5rem;
border-radius: .5rem;/**esquinas redondeadas**/
.footer
{
text-align:center ;
margin-top: 9rem;
}