Giter Site home page Giter Site logo

the-beatles's Introduction

The-Beatles

Le but de cette exercice était de manipuler les FlexBox. Pour ce faire j'ai fait dans mon HTML des premières div dans laquelle j'ai imbriqué les div contenant les images des membres du groupe. Pour la partie CSS je me suis aidé de l'attribut border: 2px solid black afin de manipuler et centrer mes divs, plus facilement. Pour le placement des ronds de couleurs j'ai utilisé les balises flex-wrap: wrap; et justify-content: space-around afin de placer en haut John Lennon et Paul McCartney et George Harrison et Ringo Start en dessous.

Pour l'image contenant le sous marin je l'ai placé via le CSS en mettant une hauteur de 500px, définit un background-size:100% 100%; et un background-position: center center; afin que l'image soit correctement positionné.

Pour le titre "The Beatles" j'ai utilisé la balise h2. Cette balise étant de type block j'ai utilisé l'attribut text-align: center;

Enfin, pour placer les 4 membres du groupe au centre je les ai contenu dans la div #footer puis j'ai réaliser un display: flex et un justify-content: center; afin d'avoir le résultat voulu.

Voici le résultat final:

Screenshot

the-beatles's People

Contributors

guifrav avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.