<div class="container">
  <h1>Titre du truc</h1>
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam sit amet felis efficitur, dictum felis in, consectetur neque. Aliquam nec tincidunt eros, eget venenatis massa. Suspendisse turpis dui, ultricies tristique.</p>
</div>
body {
  background-color: #ddd ;
  font-family: 'Trebuchet MS';
}
.container {
  width: 60%;
  margin: auto;
  border: 1px solid #ccc ;
  background-color: #fff ;
  padding: 10px;
}
h1 {
  margin: 0px;
  padding: 5px 10px;
  color: #fff ;
  background-color: purple ;
  margin-bottom: 10px;
  position: relative;
  right: 50px;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.