section of bioenvironment

0

I tell you that I'm new to programming, and I'm doing my first website, I'm doing the home and I got stuck in the welcome section.

The section contains a div with the title LOREM IPSUM SIT AMET ... and below it goes to another div that will contain the content that describes what the page is about, ie a section where you will have a div for the title and another div for the content.

Does anyone tell me how I can do it? if there is another alternative to the two divs better, my idea is that there is a dividing line between the title and the specification.

Thanks! In passing I send you the render of my home.

    
asked by Levi Arista 05.07.2018 в 00:40
source

1 answer

0

I have not understood your problem very well, but I think that what you want is to know how to make the welcome section, here is an example of something similar to what you have in the image:

.bienvenida {width:80%;background:black;}
.titulo {color:orange;text-align:center;padding-top:1px;}
.descripcion {color:white;padding:5px;}
<section class="bienvenida">
  <div class="titulo">
    <h2>Sección de bienvenida</h2>
  </div>
  <hr/>
  <div class="descripcion">
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed varius ullamcorper odio, auctor condimentum nulla egestas eget. Nullam sodales in nibh eu interdum. Suspendisse accumsan erat neque, id maximus quam posuere id. Praesent hendrerit ex at tempus facilisis.</p>
  </div>
</section>
    
answered by 05.07.2018 / 01:36
source