En ce moment :Genshin Impact, Valhalla, Breath of the wild, Animal Crossing, GTA 5, Red dead 2
PCPS5Xbox SeriesSwitch 2
Liste des sujets
centrer titre et texte
_alex974_
Niveau 17
29 avril 2019 à 15:10:56
hello,
voila, j'ai un soucis, j'ai trois titres avec trois paragraphes et j'aimerai les alligner horizontalement, comme si c'était trois colonnes, mais j'arrive pas a trouver le code css,
<section> <h2 id="perf" class="deco">Performances</h2> <div> <ul> <li> <h3>LAUGH</h3> <p>As an adult, come and discover our irresistible clowns, between practical jokes and pranks let yourself be carried away by their joy and fall back into childhood.</p> </li> <li> <h3>DREAM</h3> <p>Let yourself be carried away in a world where the real and the imaginary are one, in the company of our talented magicians, discover a wonderful world limited only by your imagination.</p> </li> <li> <h3>MARVEL AT</h3> <p>Tame the untameable in the company of our tamers, between roar and razor-sharp claws, watch these fierce felines turn into sweet kittens.</p> </li> </ul> </div> </section>
si quelqu'un a la solution, merci d'avance
Thymotep
Niveau 10
29 avril 2019 à 15:28:26
Hello,
Tu as fais une liste (donc par définition, chaque item l'un sous l'autre) mais tu peux gérer ça en CSS avec Flex https://jsfiddle.net/1ty4hb2n/12/