<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>HTML &#8211; Premier site en local sur wordpress</title>
	<atom:link href="https://wp.gwd-france.com/category/web/html/feed/" rel="self" type="application/rss+xml" />
	<link>https://wp.gwd-france.com</link>
	<description>L&#039;expérience, c&#039;est le nom que l&#039;on donne à ses erreurs.</description>
	<lastBuildDate>Wed, 29 Jan 2020 10:25:11 +0000</lastBuildDate>
	<language>fr-FR</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9.3</generator>
	<item>
		<title>Bootstrap le retour</title>
		<link>https://wp.gwd-france.com/2019/08/28/bootstrap-le-retour/</link>
		
		<dc:creator><![CDATA[yannick]]></dc:creator>
		<pubDate>Wed, 28 Aug 2019 11:31:11 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML-CSS]]></category>
		<category><![CDATA[web]]></category>
		<guid isPermaLink="false">https://wp.gwd-france.com/?p=6040</guid>

					<description><![CDATA[Pour démarrer une page bootstrap, il nous faut un squelette de base qui comprend les liens et les scriptes. Le lien vers le site Bootstrap ici Nous pouvons également placer un lien pour les icônes. Un lien pour les icônes ici Puis un lien vers notre page de styles CSS. Page de départ, avec la...]]></description>
										<content:encoded><![CDATA[
<p>Pour démarrer une page bootstrap, il nous faut un squelette de base qui comprend les <strong>liens et les scriptes</strong>. </p>



<p style="text-align:center">Le lien vers le site Bootstrap <a href="https://getbootstrap.com/docs/4.3/getting-started/introduction/">ici</a></p>



<p>Nous pouvons également placer un lien pour les <strong>icônes</strong>. </p>



<p style="text-align:center">Un lien pour les icônes <a href="https://fontawesome.bootstrapcheatsheets.com/#">ici</a></p>



<p>Puis un lien vers notre page de styles <strong>CSS</strong>.</p>



<p>Page de départ, avec la base des blocs :</p>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<!doctype html>
<html lang="en">
  <head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
    <!--lien icônes-->
    <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <link rel="stylesheet" href="/css/styles.css">

    <title>Hello, world!</title>
  </head>
  <body>
    <h1>Hello, world!</h1>


    <div class="container py-5 ">
        <div class="row section01">
          <div class="colonne col-sm-12 col-md-6 col-lg-3 border border-secondary bg-primary p-2 text-center">
            One of three columns
          </div>
          <div class="colonne col-sm-12 col-md-6 col-lg-3 border border-secondary bg-primary p-2 text-center">
            One of three columns
          </div>
          <div class="colonne col-sm-12 col-md-6 col-lg-3 border border-secondary bg-primary p-2 text-center">
            One of three columns
          </div>
          <div class="colonne col-sm-12 col-md-6 col-lg-3 border border-secondary bg-primary p-2 text-center">
            One of three columns
          </div>
        </div>

        <div class="row py-5 px-5 section02">
            <div class="col-sm border border-secondary p-2 text-center">
              One of three columns
            </div>
            <div class="col-sm border border-secondary p-2 text-center">
              One of three columns
            </div>
            <div class="col-sm border border-secondary p-2 text-center">
              One of three columns
            </div>
            <div class="col-sm border border-secondary p-2 text-center">
                One of three columns
              </div>
          </div>
      </div>



    <!-- Optional JavaScript -->
    <!-- jQuery first, then Popper.js, then Bootstrap JS -->
    <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
  </body>
</html>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<p>Le code :</p>



<pre class="wp-block-code"><code>&lt;!doctype html>
&lt;html lang="en">
  &lt;head>
    &lt;!-- Required meta tags -->
    &lt;meta charset="utf-8">
    &lt;meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    &lt;!-- Bootstrap CSS -->
    &lt;link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
    &lt;!--lien icônes-->
    &lt;link href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
    &lt;link rel="stylesheet" href="/css/styles.css">

    &lt;title>Hello, world!&lt;/title>
  &lt;/head>
  &lt;body>
    &lt;h1>Hello, world!&lt;/h1>


    &lt;div class="container py-5 ">
        &lt;div class="row section01">
          &lt;div class="colonne col-sm-12 col-md-6 col-lg-3 border border-secondary bg-primary p-2 text-center">
            One of three columns
          &lt;/div>
          &lt;div class="colonne col-sm-12 col-md-6 col-lg-3 border border-secondary bg-primary p-2 text-center">
            One of three columns
          &lt;/div>
          &lt;div class="colonne col-sm-12 col-md-6 col-lg-3 border border-secondary bg-primary p-2 text-center">
            One of three columns
          &lt;/div>
          &lt;div class="colonne col-sm-12 col-md-6 col-lg-3 border border-secondary bg-primary p-2 text-center">
            One of three columns
          &lt;/div>
        &lt;/div>

        &lt;div class="row py-5 px-5 section02">
            &lt;div class="col-sm border border-secondary p-2 text-center">
              One of three columns
            &lt;/div>
            &lt;div class="col-sm border border-secondary p-2 text-center">
              One of three columns
            &lt;/div>
            &lt;div class="col-sm border border-secondary p-2 text-center">
              One of three columns
            &lt;/div>
            &lt;div class="col-sm border border-secondary p-2 text-center">
                One of three columns
              &lt;/div>
          &lt;/div>
      &lt;/div>


    &lt;!-- Optional JavaScript -->
    &lt;!-- jQuery first, then Popper.js, then Bootstrap JS -->
    &lt;script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous">&lt;/script>
    &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous">&lt;/script>
    &lt;script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous">&lt;/script>
  &lt;/body>
&lt;/html></code></pre>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<p>Barre de navigation :</p>



<p>Noter que pour qu&rsquo;elle soit fixe en haut de page, ajouter la class= »fixed-top »  à &lt;nav></p>



<nav class="navbar  navbar-expand-lg navbar-dark bg-dark ">
    <div class="container">
      <a class="navbar-brand" href="index.html">Start Bootstrap</a>
      <button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
        <span class="navbar-toggler-icon"></span>
      </button>
      <div class="collapse navbar-collapse" id="navbarResponsive">
        <ul class="navbar-nav ml-auto">
          <li class="nav-item">
            <a class="nav-link" href="about.html">About</a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="services.html">Services</a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="contact.html">Contact</a>
          </li>
          <li class="nav-item dropdown">
            <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownPortfolio" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
              Portfolio
            </a>
            <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownPortfolio">
              <a class="dropdown-item" href="portfolio-1-col.html">1 Column Portfolio</a>
              <a class="dropdown-item" href="portfolio-2-col.html">2 Column Portfolio</a>
              <a class="dropdown-item" href="portfolio-3-col.html">3 Column Portfolio</a>
              <a class="dropdown-item" href="portfolio-4-col.html">4 Column Portfolio</a>
              <a class="dropdown-item" href="portfolio-item.html">Single Portfolio Item</a>
            </div>
          </li>
          <li class="nav-item dropdown">
            <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownBlog" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
              Blog
            </a>
            <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownBlog">
              <a class="dropdown-item" href="blog-home-1.html">Blog Home 1</a>
              <a class="dropdown-item" href="blog-home-2.html">Blog Home 2</a>
              <a class="dropdown-item" href="blog-post.html">Blog Post</a>
            </div>
          </li>
          <li class="nav-item dropdown">
            <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownBlog" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
              Other Pages
            </a>
            <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownBlog">
              <a class="dropdown-item" href="full-width.html">Full Width Page</a>
              <a class="dropdown-item" href="sidebar.html">Sidebar Page</a>
              <a class="dropdown-item" href="faq.html">FAQ</a>
              <a class="dropdown-item" href="404.html">404</a>
              <a class="dropdown-item" href="pricing.html">Pricing Table</a>
            </div>
          </li>
        </ul>
      </div>
    </div>
  </nav>



<pre class="wp-block-code"><code>&lt;nav class="navbar navbar-expand-lg navbar-dark bg-dark ">
    &lt;div class="container">
      &lt;a class="navbar-brand" href="index.html">Start Bootstrap&lt;/a>
      &lt;button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
        &lt;span class="navbar-toggler-icon">&lt;/span>
      &lt;/button>
      &lt;div class="collapse navbar-collapse" id="navbarResponsive">
        &lt;ul class="navbar-nav ml-auto">
          &lt;li class="nav-item">
            &lt;a class="nav-link" href="about.html">About&lt;/a>
          &lt;/li>
          &lt;li class="nav-item">
            &lt;a class="nav-link" href="services.html">Services&lt;/a>
          &lt;/li>
          &lt;li class="nav-item">
            &lt;a class="nav-link" href="contact.html">Contact&lt;/a>
          &lt;/li>
          &lt;li class="nav-item dropdown">
            &lt;a class="nav-link dropdown-toggle" href="#" id="navbarDropdownPortfolio" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
              Portfolio
            &lt;/a>
            &lt;div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownPortfolio">
              &lt;a class="dropdown-item" href="portfolio-1-col.html">1 Column Portfolio&lt;/a>
              &lt;a class="dropdown-item" href="portfolio-2-col.html">2 Column Portfolio&lt;/a>
              &lt;a class="dropdown-item" href="portfolio-3-col.html">3 Column Portfolio&lt;/a>
              &lt;a class="dropdown-item" href="portfolio-4-col.html">4 Column Portfolio&lt;/a>
              &lt;a class="dropdown-item" href="portfolio-item.html">Single Portfolio Item&lt;/a>
            &lt;/div>
          &lt;/li>
          &lt;li class="nav-item dropdown">
            &lt;a class="nav-link dropdown-toggle" href="#" id="navbarDropdownBlog" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
              Blog
            &lt;/a>
            &lt;div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownBlog">
              &lt;a class="dropdown-item" href="blog-home-1.html">Blog Home 1&lt;/a>
              &lt;a class="dropdown-item" href="blog-home-2.html">Blog Home 2&lt;/a>
              &lt;a class="dropdown-item" href="blog-post.html">Blog Post&lt;/a>
            &lt;/div>
          &lt;/li>
          &lt;li class="nav-item dropdown">
            &lt;a class="nav-link dropdown-toggle" href="#" id="navbarDropdownBlog" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
              Other Pages
            &lt;/a>
            &lt;div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownBlog">
              &lt;a class="dropdown-item" href="full-width.html">Full Width Page&lt;/a>
              &lt;a class="dropdown-item" href="sidebar.html">Sidebar Page&lt;/a>
              &lt;a class="dropdown-item" href="faq.html">FAQ&lt;/a>
              &lt;a class="dropdown-item" href="404.html">404&lt;/a>
              &lt;a class="dropdown-item" href="pricing.html">Pricing Table&lt;/a>
            &lt;/div>
          &lt;/li>
        &lt;/ul>
      &lt;/div>
    &lt;/div>
  &lt;/nav></code></pre>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<p>Breadcrumb (fil d&rsquo;Ariane) :</p>



<ol class="breadcrumb">
      <li class="breadcrumb-item">
        <a href="index.html">Home</a>
      </li>
      <li class="breadcrumb-item active">Contact</li>
    </ol>



<pre class="wp-block-code"><code>&lt;ol class="breadcrumb">
      &lt;li class="breadcrumb-item">
        &lt;a href="index.html">Home&lt;/a>
      &lt;/li>
      &lt;li class="breadcrumb-item active">Contact&lt;/li>
 &lt;/ol></code></pre>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<p>Card (bloc avec entête, body et footer) :</p>



 <div class="row">
      <div class="col-lg-4 mb-4">
        <div class="card h-100 ">
          <h4 class="card-header">Card Title</h4>
          <div class="card-body">
            <p class="card-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sapiente esse necessitatibus neque.</p>
          </div>
          <div class="card-footer">
            <a href="#" class="btn btn-primary">Learn More</a>
          </div>
        </div>
      </div>
      <div class="col-lg-4 mb-4">
        <div class="card h-100">
          <h4 class="card-header">Card Title</h4>
          <div class="card-body">
            <p class="card-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Reiciendis ipsam eos, nam perspiciatis natus commodi similique totam consectetur praesentium molestiae atque exercitationem ut consequuntur, sed eveniet, magni nostrum sint fuga.</p>
          </div>
          <div class="card-footer">
            <a href="#" class="btn btn-primary">Learn More</a>
          </div>
        </div>
      </div>
      <div class="col-lg-4 mb-4">
        <div class="card h-100">
          <h4 class="card-header">Card Title</h4>
          <div class="card-body">
            <p class="card-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sapiente esse necessitatibus neque.</p>
          </div>
          <div class="card-footer">
            <a href="#" class="btn btn-primary">Learn More</a>
          </div>
        </div>
      </div>
    </div>



<pre class="wp-block-code"><code> &lt;div class="row">
      &lt;div class="col-lg-4 mb-4">
        &lt;div class="card h-100 ">
          &lt;h4 class="card-header">Card Title&lt;/h4>
          &lt;div class="card-body">
            &lt;p class="card-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sapiente esse necessitatibus neque.&lt;/p>
          &lt;/div>
          &lt;div class="card-footer">
            &lt;a href="#" class="btn btn-primary">Learn More&lt;/a>
          &lt;/div>
        &lt;/div>
      &lt;/div>
      &lt;div class="col-lg-4 mb-4">
        &lt;div class="card h-100">
          &lt;h4 class="card-header">Card Title&lt;/h4>
          &lt;div class="card-body">
            &lt;p class="card-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Reiciendis ipsam eos, nam perspiciatis natus commodi similique totam consectetur praesentium molestiae atque exercitationem ut consequuntur, sed eveniet, magni nostrum sint fuga.&lt;/p>
          &lt;/div>
          &lt;div class="card-footer">
            &lt;a href="#" class="btn btn-primary">Learn More&lt;/a>
          &lt;/div>
        &lt;/div>
      &lt;/div>
      &lt;div class="col-lg-4 mb-4">
        &lt;div class="card h-100">
          &lt;h4 class="card-header">Card Title&lt;/h4>
          &lt;div class="card-body">
            &lt;p class="card-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sapiente esse necessitatibus neque.&lt;/p>
          &lt;/div>
          &lt;div class="card-footer">
            &lt;a href="#" class="btn btn-primary">Learn More&lt;/a>
          &lt;/div>
        &lt;/div>
      &lt;/div>
    &lt;/div></code></pre>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<p>Map et adresse (iframe) :</p>



 <div class="row">
      <!-- Map Column -->
      <div class="col-lg-8 mb-4">
        <!-- Embedded Google Map -->
        <iframe loading="lazy" width="100%" height="400px" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?hl=en&amp;ie=UTF8&amp;ll=37.0625,-95.677068&amp;spn=56.506174,79.013672&amp;t=m&amp;z=4&amp;output=embed"></iframe>
      </div>
      <!-- Contact Details Column -->
      <div class="col-lg-4 mb-4">
        <h3>Contact Details</h3>
        <p>
          3481 Melrose Place
          <br>Beverly Hills, CA 90210
          <br>
        </p>
        <p>
          <abbr title="Phone">P</abbr>: (123) 456-7890
        </p>
        <p>
          <abbr title="Email">E</abbr>:
          <a href="mailto:name@example.com">name@example.com
          </a>
        </p>
        <p>
          <abbr title="Hours">H</abbr>: Monday &#8211; Friday: 9:00 AM to 5:00 PM
        </p>
      </div>
    </div>



<pre class="wp-block-code"><code> &lt;div class="row">
      &lt;!-- Map Column -->
      &lt;div class="col-lg-8 mb-4">
        &lt;!-- Embedded Google Map -->
        &lt;iframe width="100%" height="400px" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?hl=en&amp;ie=UTF8&amp;ll=37.0625,-95.677068&amp;spn=56.506174,79.013672&amp;t=m&amp;z=4&amp;output=embed">&lt;/iframe>
      &lt;/div>
      &lt;!-- Contact Details Column -->
      &lt;div class="col-lg-4 mb-4">
        &lt;h3>Contact Details&lt;/h3>
        &lt;p>
          3481 Melrose Place
          &lt;br>Beverly Hills, CA 90210
          &lt;br>
        &lt;/p>
        &lt;p>
          &lt;abbr title="Phone">P&lt;/abbr>: (123) 456-7890
        &lt;/p>
        &lt;p>
          &lt;abbr title="Email">E&lt;/abbr>:
          &lt;a href="mailto:name@example.com">name@example.com
          &lt;/a>
        &lt;/p>
        &lt;p>
          &lt;abbr title="Hours">H&lt;/abbr>: Monday - Friday: 9:00 AM to 5:00 PM
        &lt;/p>
      &lt;/div>
    &lt;/div></code></pre>



<p>Un formulaire :</p>



<div method="post" action="cible.php" class="container py-5 ">
        <form class="px-5 col-md-12 col-lg-9">
          <div class="row champs">
              <div class="col">
                <input type="text" class="form-control" placeholder="Prénom">
              </div>
              <div class="col">
                <input type="text" class="form-control" placeholder="nom">
              </div>
            </div>
            <div class="form-group champs">
                <label for="exampleInputEmail1">Adresse mail</label>
                <input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="Mail">
                <small id="emailHelp" class="form-text text-muted">Nous ne partagerons jamais votre email avec qui que ce soit.</small>
              </div>
          <div class="form-group champs">
            <label for="exampleFormControlTextarea1">Formulez votre demande</label>
            <textarea class="form-control" id="exampleFormControlTextarea1" rows="3"></textarea>
          </div>
          <div class="form-check champs">
              <input class="form-check-input" type="checkbox" value="" id="defaultCheck1">
              <label class="form-check-label" for="defaultCheck1">
                Cocher si vous êtes d&rsquo;accord.
              </label>
            </div>
              <button type="submit" class="btn btn-primary">Envoyer</button>
        </form>
      </div>



<pre class="wp-block-code"><code>&lt;div class="container py-5 ">
        &lt;form method="post" action="cible.php" class="px-5 col-md-12 col-lg-9">
          &lt;div class="row champs">
              &lt;div class="col">
                &lt;input type="text" class="form-control" placeholder="Prénom">
              &lt;/div>
              &lt;div class="col">
                &lt;input type="text" class="form-control" placeholder="nom">
              &lt;/div>
            &lt;/div>
            &lt;div class="form-group champs">
                &lt;label for="exampleInputEmail1">Adresse mail&lt;/label>
                &lt;input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="Mail">
                &lt;small id="emailHelp" class="form-text text-muted">Nous ne partagerons jamais votre email avec qui que ce soit.&lt;/small>
              &lt;/div>
          &lt;div class="form-group champs">
            &lt;label for="exampleFormControlTextarea1">Formulez votre demande&lt;/label>
            &lt;textarea class="form-control" id="exampleFormControlTextarea1" rows="3">&lt;/textarea>
          &lt;/div>
          &lt;div class="form-check champs">
              &lt;input class="form-check-input" type="checkbox" value="" id="defaultCheck1">
              &lt;label class="form-check-label" for="defaultCheck1">
                Cocher si vous êtes d'accord.
              &lt;/label>
            &lt;/div>
              &lt;button type="submit" class="btn btn-primary">Envoyer&lt;/button>
        &lt;/form>
      &lt;/div></code></pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Raccourcis pour le HTML</title>
		<link>https://wp.gwd-france.com/2019/08/23/raccourcis/</link>
		
		<dc:creator><![CDATA[yannick]]></dc:creator>
		<pubDate>Fri, 23 Aug 2019 15:19:15 +0000</pubDate>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML-CSS]]></category>
		<category><![CDATA[web]]></category>
		<guid isPermaLink="false">https://wp.gwd-france.com/?p=6030</guid>

					<description><![CDATA[Quelques raccourcis pour gagner du temps/ Page de base : ! et tabulation Commentaire : ctrl / Pour mac : (cmd shift /) Entourer d&#8217;une balise : ctrl shift P wrap with abbreviation rentrer le nom de la balise et valider. pour plusieurs paragraphe p* Réorganiser la page : ctrl shift P et choisir beautify...]]></description>
										<content:encoded><![CDATA[
<p></p>



<p>Quelques raccourcis pour gagner du temps/</p>



<p>Page de base : <strong>!<em> </em></strong>et <strong><em>tabulation</em></strong> </p>



<p style="text-align:left">Commentaire : <strong><em>ctrl</em></strong>  <strong><em>/</em></strong>              Pour mac : (<strong><em>cmd</em></strong> <strong><em>shift</em></strong> <strong><em>/</em></strong>)</p>



<p>Entourer d&rsquo;une balise : <strong><em>ctrl</em></strong>  <em><strong>shift</strong></em>  <em><strong>P wrap with abbreviation</strong></em>  rentrer le nom de la balise et <strong>valider</strong>. pour plusieurs paragraphe p*</p>



<p>Réorganiser la page : <strong><em>ctrl shift P </em></strong>et choisir beautify</p>



<p>Remplir de texte : Il faut écrire : <em>lorem</em> et <strong><em>tabulation</em></strong>  pour un nombre de 50 mots, placer un chiffre collé a <em>lorem</em> : <em>lorem50</em> et <strong><em>tabulation</em></strong></p>



<p>Affichage de l&rsquo;éditeur de texte sur plusieurs ligne :<strong><em> alt Z</em></strong></p>



<p>Curseur multiple : <strong><em>alt clic</em></strong> <strong><em>clic</em></strong>&#8230;</p>



<p>Rechercher : <strong><em>ctrl F</em></strong></p>



<p>Sélectionner et remplacer :  Sélectionner un mot, un groupe de mots, <strong><em>ctrl H</em></strong> et indiquer dans le premier champs la selection et dans le deuxième ce par quoi nous voulons le remplacer.  Cliquer sur remplace cela ce ferra un par un.</p>



<p>Déplacer une ligne, une balise : Placer le curseur sur la ligne, (on peut sélectionner plusieurs ligne) <strong><em>alt</em></strong> et <strong><em>flèche </em></strong>haute ou basse.</p>



<p></p>



<p></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Créer une carte personnalisée</title>
		<link>https://wp.gwd-france.com/2019/03/28/creer-une-carte-personnalisee/</link>
		
		<dc:creator><![CDATA[yannick]]></dc:creator>
		<pubDate>Thu, 28 Mar 2019 12:13:27 +0000</pubDate>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[web]]></category>
		<guid isPermaLink="false">https://wp.gwd-france.com/?p=5918</guid>

					<description><![CDATA[Aujourd’hui nous avons la possibilité de créer des cartes personnalisées, il existe plusieurs sites pour le faire. Nous avons utilisé uMap.openstree Cliquer sur créer une carte pour commencer. Ensuite vous verrez le site est assez simple d&#8217;utilisation, il suffit de lire et de survoler les icônes. Une fois notre carte effectuée il suffit juste de...]]></description>
										<content:encoded><![CDATA[
<p>Aujourd’hui nous avons la possibilité de créer des cartes personnalisées, il existe plusieurs sites pour le faire. Nous avons utilisé <a href="https://umap.openstreetmap.fr/fr/">uMap.openstree</a></p>



<p>Cliquer sur <strong>créer une carte</strong> pour commencer. Ensuite vous verrez le site est assez simple d&rsquo;utilisation, il suffit de lire et de survoler les icônes.</p>



<p>Une fois notre carte effectuée il suffit juste de prendre le code d&rsquo;importation pour l&rsquo;intégrer.</p>



<p>Et voila !</p>



<iframe loading="lazy" width="100%" height="300px" frameBorder="0" allowfullscreen src="https://umap.openstreetmap.fr/fr/map/cos-de-nanteau-sur-lunain_308906?scaleControl=false&#038;miniMap=false&#038;scrollWheelZoom=false&#038;zoomControl=true&#038;allowEdit=false&#038;moreControl=true&#038;searchControl=null&#038;tilelayersControl=null&#038;embedControl=null&#038;datalayersControl=true&#038;onLoadPanel=undefined&#038;captionBar=false"></iframe><p><a href="https://umap.openstreetmap.fr/fr/map/cos-de-nanteau-sur-lunain_308906">Voir en plein écran</a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Intégrer du SVG</title>
		<link>https://wp.gwd-france.com/2019/02/07/integrer-du-svg/</link>
		
		<dc:creator><![CDATA[yannick]]></dc:creator>
		<pubDate>Thu, 07 Feb 2019 13:08:59 +0000</pubDate>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML-CSS]]></category>
		<category><![CDATA[illustrator]]></category>
		<category><![CDATA[web]]></category>
		<guid isPermaLink="false">https://wp.gwd-france.com/?p=2616</guid>

					<description><![CDATA[Pour intégrer du SVG dans une page HTML nous nous servons d&#8217;illustrator. Dans notre carte (oui nous faisons une carte cliquable) il faut nommer les groupes pour chaque objets (ici département) si nous voulons styler ces objets, après dans le code. Dans fenêtre &#8211; Option d&#8217;objet, donner une url aux objets et définir la zone...]]></description>
										<content:encoded><![CDATA[
<p>Pour intégrer du SVG dans une page HTML nous nous servons d&rsquo;illustrator.</p>



<p>Dans notre carte (oui nous faisons une carte cliquable) il faut nommer les groupes pour chaque objets (ici département) si nous voulons styler ces objets, après dans le code.</p>



<ul><li>Dans fenêtre &#8211; <em>Option d&rsquo;objet</em>, donner une url aux objets et définir la <em>zone active( ex:polygone)</em>.</li><li>Enregistrer sous au format SVG, le profils SVG: <em>Basic 1.1</em> et Propriétés CSS: <em>Élément de style</em>.</li><li>Copier / coller le code généré dans la page HTML (que la partie avec les balises svg).</li></ul>



<p>(A noter une fenêtre propriétés CSS.)</p>



<p>Une fois le fichier HTML en place nous pouvons styler notre carte en CSS.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Image-picture</title>
		<link>https://wp.gwd-france.com/2019/01/25/image-picture/</link>
		
		<dc:creator><![CDATA[yannick]]></dc:creator>
		<pubDate>Fri, 25 Jan 2019 10:12:35 +0000</pubDate>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML-CSS]]></category>
		<category><![CDATA[web]]></category>
		<guid isPermaLink="false">https://wp.gwd-france.com/?p=2599</guid>

					<description><![CDATA[Pour chargé des images en multiple format . Le navigateur choisira dans l’ordre celui qu&#8217;il peut ouvrir. Exemple du code: &#60;picture&#62; &#60;source srcset="images/172724622_ecaa7b22d1_b_resultat.webp" type="image/webp"&#62; &#60;source srcset="images/172724622_ecaa7b22d1_b_resultat.jpg" type="image/jpeg"&#62; &#60;img src="images/172724622_ecaa7b22d1_b_resultat.jpg"&#62;&#60;/picture&#62; Et en responsive? Une technique permet à la même image, que l&#8217;on insert plusieurs fois et de différente taille, d&#8217;être choisie en fonction de la taille...]]></description>
										<content:encoded><![CDATA[
<p>Pour chargé des images en multiple   format . Le navigateur choisira dans l’ordre celui qu&rsquo;il peut ouvrir.</p>



<p>Exemple du code:</p>



<div class="wp-block-image"><figure class="aligncenter"><img width="502" height="404" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/picture.jpg" alt="" class="wp-image-2601" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/picture.jpg 502w, https://wp.gwd-france.com/wp-content/uploads/2019/01/picture-300x241.jpg 300w" sizes="(max-width: 502px) 100vw, 502px" /></figure></div>



<pre class="wp-block-preformatted">  <br>&lt;picture&gt;<br>     &lt;source srcset="images/172724622_ecaa7b22d1_b_resultat.webp" type="image/webp"&gt;<br>     &lt;source srcset="images/172724622_ecaa7b22d1_b_resultat.jpg"  type="image/jpeg"&gt;<br>     &lt;img src="images/172724622_ecaa7b22d1_b_resultat.jpg"&gt;<br>&lt;/picture&gt; </pre>



<p>Et en responsive?  Une technique permet à la même image, que l&rsquo;on insert plusieurs fois et de différente taille, d&rsquo;être choisie en fonction de la taille de l&rsquo;écran.</p>



<div class="wp-block-image"><figure class="aligncenter"><img width="497" height="253" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/picture2.jpg" alt="" class="wp-image-2609" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/picture2.jpg 497w, https://wp.gwd-france.com/wp-content/uploads/2019/01/picture2-300x153.jpg 300w" sizes="(max-width: 497px) 100vw, 497px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img width="497" height="157" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/picture3.jpg" alt="" class="wp-image-2610" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/picture3.jpg 497w, https://wp.gwd-france.com/wp-content/uploads/2019/01/picture3-300x95.jpg 300w" sizes="(max-width: 497px) 100vw, 497px" /></figure></div>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Animation, suite!</title>
		<link>https://wp.gwd-france.com/2019/01/24/galerie-animation/</link>
					<comments>https://wp.gwd-france.com/2019/01/24/galerie-animation/#respond</comments>
		
		<dc:creator><![CDATA[yannick]]></dc:creator>
		<pubDate>Thu, 24 Jan 2019 10:04:17 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML-CSS]]></category>
		<category><![CDATA[web]]></category>
		<guid isPermaLink="false">https://wp.gwd-france.com/?p=2550</guid>

					<description><![CDATA[Mettre en application les animations les transitions sur une galerie La partie code html et css qui nous intéresse: Travail perso: Le code]]></description>
										<content:encoded><![CDATA[
<p>Mettre en application les animations les transitions sur une galerie</p>



<style>
       
.afficheur {
            margin: ;
            border-style: none;
            width: 160%;
            height: 700px;
transform:scale(.600);
transform-origin:0 0;
overflow: hidden;
        }
        .afficheur iframe {
            width: 100%;
            height: 200%;
            border: solid 1px #ccc;
        }
</style>

<div class="afficheur">
<iframe src="https://animation-galerie.gwd-france.com/" name="Animation-galerie" title="animationSprite"></iframe>
</div>



<p>La partie code html et css qui nous intéresse:</p>



<div class="wp-block-image"><figure class="aligncenter is-resized"><img src="https://wp.gwd-france.com/wp-content/uploads/2019/01/galerie-anim-html.jpg" alt="" class="wp-image-2560" width="500" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/galerie-anim-html.jpg 1102w, https://wp.gwd-france.com/wp-content/uploads/2019/01/galerie-anim-html-300x39.jpg 300w, https://wp.gwd-france.com/wp-content/uploads/2019/01/galerie-anim-html-768x100.jpg 768w, https://wp.gwd-france.com/wp-content/uploads/2019/01/galerie-anim-html-1024x133.jpg 1024w, https://wp.gwd-france.com/wp-content/uploads/2019/01/galerie-anim-html-850x110.jpg 850w" sizes="(max-width: 1102px) 100vw, 1102px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img width="407" height="926" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/galerie-anim-css1.jpg" alt="" class="wp-image-2561" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/galerie-anim-css1.jpg 407w, https://wp.gwd-france.com/wp-content/uploads/2019/01/galerie-anim-css1-132x300.jpg 132w, https://wp.gwd-france.com/wp-content/uploads/2019/01/galerie-anim-css1-300x683.jpg 300w" sizes="(max-width: 407px) 100vw, 407px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img width="407" height="862" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/galerie-anim-css2.jpg" alt="" class="wp-image-2562" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/galerie-anim-css2.jpg 407w, https://wp.gwd-france.com/wp-content/uploads/2019/01/galerie-anim-css2-142x300.jpg 142w, https://wp.gwd-france.com/wp-content/uploads/2019/01/galerie-anim-css2-300x635.jpg 300w" sizes="(max-width: 407px) 100vw, 407px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img width="409" height="899" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/galerie-anim-css3.jpg" alt="" class="wp-image-2563" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/galerie-anim-css3.jpg 409w, https://wp.gwd-france.com/wp-content/uploads/2019/01/galerie-anim-css3-136x300.jpg 136w, https://wp.gwd-france.com/wp-content/uploads/2019/01/galerie-anim-css3-300x659.jpg 300w" sizes="(max-width: 409px) 100vw, 409px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img width="412" height="80" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/galerie-anim-css4.jpg" alt="" class="wp-image-2564" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/galerie-anim-css4.jpg 412w, https://wp.gwd-france.com/wp-content/uploads/2019/01/galerie-anim-css4-300x58.jpg 300w" sizes="(max-width: 412px) 100vw, 412px" /></figure></div>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<p>Travail perso:</p>



<style>
       
.afficheur {
            margin: ;
            border-style: none;
            width: 160%;
            height: 700px;
transform:scale(.600);
transform-origin:0 0;
overflow: hidden;
        }
        .afficheur iframe {
            width: 100%;
            height: 200%;
            border: solid 1px #ccc;
        }
</style>

<div class="afficheur">
<iframe src="https://cube.gwd-france.com/" name="cube-galerie" title="animationCube"></iframe>
</div>



<p>Le code</p>



<div class="wp-block-image"><figure class="aligncenter"><img width="557" height="920" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/cube-perso1.jpg" alt="" class="wp-image-2569" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/cube-perso1.jpg 557w, https://wp.gwd-france.com/wp-content/uploads/2019/01/cube-perso1-182x300.jpg 182w, https://wp.gwd-france.com/wp-content/uploads/2019/01/cube-perso1-300x496.jpg 300w" sizes="(max-width: 557px) 100vw, 557px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img width="555" height="890" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/cube-perso2.jpg" alt="" class="wp-image-2570" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/cube-perso2.jpg 555w, https://wp.gwd-france.com/wp-content/uploads/2019/01/cube-perso2-187x300.jpg 187w, https://wp.gwd-france.com/wp-content/uploads/2019/01/cube-perso2-300x481.jpg 300w" sizes="(max-width: 555px) 100vw, 555px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img width="560" height="246" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/cube-perso3.jpg" alt="" class="wp-image-2571" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/cube-perso3.jpg 560w, https://wp.gwd-france.com/wp-content/uploads/2019/01/cube-perso3-300x132.jpg 300w" sizes="(max-width: 560px) 100vw, 560px" /></figure></div>
]]></content:encoded>
					
					<wfw:commentRss>https://wp.gwd-france.com/2019/01/24/galerie-animation/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Animation 3D</title>
		<link>https://wp.gwd-france.com/2019/01/21/animation-3d/</link>
					<comments>https://wp.gwd-france.com/2019/01/21/animation-3d/#respond</comments>
		
		<dc:creator><![CDATA[yannick]]></dc:creator>
		<pubDate>Mon, 21 Jan 2019 13:13:05 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML-CSS]]></category>
		<category><![CDATA[web]]></category>
		<guid isPermaLink="false">https://wp.gwd-france.com/?p=2486</guid>

					<description><![CDATA[La base d&#8217;un cube 3D: Mettre ce cube sur un plan. Un article pour faire un cube vraiment intéressant https://la-cascade.io/creer-un-cube-en-css/ N&#8217;hésitez pas à cliqué sur voir la démo Par la suite: Pour donner un effet de perspective il faut englober les cubes dans une autre div et utiliser la propriété  » perspective:&#160;2000px; » Avec quelque transitons...]]></description>
										<content:encoded><![CDATA[
<p>La base  d&rsquo;un cube 3D:</p>



<div class="wp-block-image"><figure class="aligncenter"><img width="553" height="893" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/cube01.jpg" alt="" class="wp-image-2488" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/cube01.jpg 553w, https://wp.gwd-france.com/wp-content/uploads/2019/01/cube01-186x300.jpg 186w, https://wp.gwd-france.com/wp-content/uploads/2019/01/cube01-300x484.jpg 300w" sizes="(max-width: 553px) 100vw, 553px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img width="533" height="556" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/cube01img.jpg" alt="" class="wp-image-2489" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/cube01img.jpg 533w, https://wp.gwd-france.com/wp-content/uploads/2019/01/cube01img-288x300.jpg 288w, https://wp.gwd-france.com/wp-content/uploads/2019/01/cube01img-300x313.jpg 300w" sizes="(max-width: 533px) 100vw, 533px" /></figure></div>



<p>Mettre ce cube sur un plan.</p>



<p>Un article pour faire un cube vraiment intéressant  <a href="https://la-cascade.io/creer-un-cube-en-css/">https://la-cascade.io/creer-un-cube-en-css/</a></p>



<p>N&rsquo;hésitez pas à cliqué sur <em>voir la démo</em></p>



<p></p>



<div class="wp-block-image"><figure class="aligncenter"><img width="442" height="820" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/cube02.jpg" alt="" class="wp-image-2492" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/cube02.jpg 442w, https://wp.gwd-france.com/wp-content/uploads/2019/01/cube02-162x300.jpg 162w, https://wp.gwd-france.com/wp-content/uploads/2019/01/cube02-300x557.jpg 300w" sizes="(max-width: 442px) 100vw, 442px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img width="267" height="298" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/cube02img.jpg" alt="" class="wp-image-2494"/></figure></div>



<p>Par la suite:</p>



<div class="wp-block-image"><figure class="aligncenter"><img width="504" height="866" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/cubes01.jpg" alt="" class="wp-image-2498" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/cubes01.jpg 504w, https://wp.gwd-france.com/wp-content/uploads/2019/01/cubes01-175x300.jpg 175w, https://wp.gwd-france.com/wp-content/uploads/2019/01/cubes01-300x515.jpg 300w" sizes="(max-width: 504px) 100vw, 504px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img width="509" height="750" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/cubes01b.jpg" alt="" class="wp-image-2499" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/cubes01b.jpg 509w, https://wp.gwd-france.com/wp-content/uploads/2019/01/cubes01b-204x300.jpg 204w, https://wp.gwd-france.com/wp-content/uploads/2019/01/cubes01b-300x442.jpg 300w" sizes="(max-width: 509px) 100vw, 509px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img width="495" height="228" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/cubes01c.jpg" alt="" class="wp-image-2500" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/cubes01c.jpg 495w, https://wp.gwd-france.com/wp-content/uploads/2019/01/cubes01c-300x138.jpg 300w" sizes="(max-width: 495px) 100vw, 495px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img width="552" height="425" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/cubes01img.jpg" alt="" class="wp-image-2501" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/cubes01img.jpg 552w, https://wp.gwd-france.com/wp-content/uploads/2019/01/cubes01img-300x231.jpg 300w" sizes="(max-width: 552px) 100vw, 552px" /></figure></div>



<p>Pour donner un effet de perspective il faut englober les cubes dans une autre div et utiliser la propriété  » <em>perspective:&nbsp;2000px; »</em></p>



<p>Avec quelque transitons supplémentaires:</p>



<div class="wp-block-image"><figure class="aligncenter"><img width="514" height="954" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/cubes02.jpg" alt="" class="wp-image-2510" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/cubes02.jpg 514w, https://wp.gwd-france.com/wp-content/uploads/2019/01/cubes02-162x300.jpg 162w, https://wp.gwd-france.com/wp-content/uploads/2019/01/cubes02-300x557.jpg 300w" sizes="(max-width: 514px) 100vw, 514px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img width="467" height="761" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/cubes02b.jpg" alt="" class="wp-image-2511" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/cubes02b.jpg 467w, https://wp.gwd-france.com/wp-content/uploads/2019/01/cubes02b-184x300.jpg 184w, https://wp.gwd-france.com/wp-content/uploads/2019/01/cubes02b-300x489.jpg 300w" sizes="(max-width: 467px) 100vw, 467px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img width="324" height="192" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/cubes02img.jpg" alt="" class="wp-image-2512" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/cubes02img.jpg 324w, https://wp.gwd-france.com/wp-content/uploads/2019/01/cubes02img-300x178.jpg 300w" sizes="(max-width: 324px) 100vw, 324px" /></figure></div>



<p>Ensuite nous faisons un exercice consistant à écrire DW02 en forme de cube et avec déplacement au survole.</p>



<p>Tous les blocs ne sont pas dans le code si dessous. Ecrire 750 lignes aurait été trop long.</p>



<p>Noté aussi que nous aurions pu étirer les cubes en ajoutant  scale3d(4,.5,2) par exemple:</p>



<pre class="wp-block-preformatted">  <br>*#cube0 {<br>   transform:translate(500px,500px)rotateZ(45deg)scale3d(4,.5,2); <br>        }         </pre>



<div class="wp-block-image"><figure class="aligncenter"><img width="448" height="899" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/dw02-1.jpg" alt="" class="wp-image-2517" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/dw02-1.jpg 448w, https://wp.gwd-france.com/wp-content/uploads/2019/01/dw02-1-149x300.jpg 149w, https://wp.gwd-france.com/wp-content/uploads/2019/01/dw02-1-300x602.jpg 300w" sizes="(max-width: 448px) 100vw, 448px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img width="445" height="932" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/dw02-2.jpg" alt="" class="wp-image-2518" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/dw02-2.jpg 445w, https://wp.gwd-france.com/wp-content/uploads/2019/01/dw02-2-143x300.jpg 143w, https://wp.gwd-france.com/wp-content/uploads/2019/01/dw02-2-300x628.jpg 300w" sizes="(max-width: 445px) 100vw, 445px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img width="447" height="907" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/dw02-3.jpg" alt="" class="wp-image-2519" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/dw02-3.jpg 447w, https://wp.gwd-france.com/wp-content/uploads/2019/01/dw02-3-148x300.jpg 148w, https://wp.gwd-france.com/wp-content/uploads/2019/01/dw02-3-300x609.jpg 300w" sizes="(max-width: 447px) 100vw, 447px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img width="664" height="331" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/dw02img2.jpg" alt="" class="wp-image-2520" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/dw02img2.jpg 664w, https://wp.gwd-france.com/wp-content/uploads/2019/01/dw02img2-300x150.jpg 300w" sizes="(max-width: 664px) 100vw, 664px" /></figure></div>



<p></p>



<div class="wp-block-image"><figure class="aligncenter"><img width="575" height="328" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/dw02img.jpg" alt="" class="wp-image-2521" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/dw02img.jpg 575w, https://wp.gwd-france.com/wp-content/uploads/2019/01/dw02img-300x171.jpg 300w" sizes="(max-width: 575px) 100vw, 575px" /></figure></div>



<p>Quand il neige et que le prof s&rsquo;occupe!</p>



<style>
*,::before,::after {
box-sizing: border-box;
}
</style>
<style>
.cube {
width: 50px;
height: 50px;
position:absolute;
top:0;
left:0;
transform-style: preserve-3d;
transform-origin: 0 0;
counter-reset: faces;
counter-increment: cubes;
background-color: chartreuse;
transform: translate(10000%,10000%) scale(.0001);
}

.cube>div {
width: 100%;
height: 100%;
position: absolute;
background-color: inherit;
transform-origin: 0 0;
counter-increment: faces;
}
.cube>div:hover {
  background-color: red;
}
/* .cube>div::before {
position:absolute;
content: counter(cubes) '.' counter(faces);
font: bolder 20px sans-serif;
color: rgba(0, 0, 0, .2);
padding:.5em;
} */

.cube>div:nth-child(1) {
background-image: linear-gradient(rgba(255,255,255,.4),rgba(255,255,255,.4));
transform: rotateX(90deg) translateY(100%) rotateX(-90deg);
}

.cube>div:nth-child(2) {
background-image: linear-gradient(rgba(255,255,255,.2),rgba(255,255,255,.2));

transform: translateY(100%) rotateX(-90deg) translateY(-100%);
}

.cube>div:nth-child(3) {
transform: rotateZ(-90deg) translate(-100%, 100%) rotateX(-90deg) translateY(-100%);
}

.cube>div:nth-child(4) {
background-image: linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1));
transform: rotateX(-90deg) rotateY(-90deg) translateY(-100%);
}

.cube>div:nth-child(5) {
background-image: linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2));
transform: rotateX(90deg) rotateZ(180deg) translate(-100%, -100%);
}

.cube>div:nth-child(6) {
background-image: linear-gradient(rgba(0,0,0,.3),rgba(0,0,0,.3));
transform: rotateX(180deg) translateY(-100%);
}
</style>
<style>
.socle {
margin:25%;
width: 50%;
height: 50%;
border: 1px solid #999;
position: relative;
transform-style: preserve-3d;
transition-duration: 2s;
counter-reset: cubes;
transform-origin:50% 50% 100px;
}


.ecran {
width: 1000px;
height: 1000px;
perspective: 2000px;
border: rgb(49, 59, 66) 1px solid;
overflow: hidden;
transform-origin:0 0;
transform: scale(.5);
}

.ecran:hover .socle {
transform: rotateX(45deg) rotateZ(-130deg);
}
#vue1:checked  ~ .ecran .socle  {}
#vue2:checked  ~ .ecran .socle  { transform: rotateX(180deg) ; }
#vue3:checked  ~ .ecran .socle  { transform: rotateX(90deg)   rotateZ(0deg)   ; }
#vue4:checked  ~ .ecran .socle  { transform: rotateX(90deg)   rotateZ(90deg)  ; }
#vue5:checked  ~ .ecran .socle  { transform: rotateX(90deg)   rotateZ(180deg) ; }
#vue6:checked  ~ .ecran .socle  { transform: rotateX(90deg)   rotateZ(270deg) ; }
#vue7:checked  ~ .ecran .socle  { transform: rotateX(45deg)   rotateZ(45deg)  ; }
#vue8:checked  ~ .ecran .socle  { transform: rotateX(45deg)   rotateZ(135deg) ; }
#vue9:checked  ~ .ecran .socle  { transform: rotateX(45deg)   rotateZ(225deg) ; }
#vue10:checked ~ .ecran .socle  { transform: rotateX(45deg)   rotateZ(315deg) ; }
#vue11:checked ~ .ecran .socle  { transform: rotateX(120deg)  rotateZ(45deg)  ; }
</style>
  <style>
#ecran01 .cube:nth-child(1) {
background-color: rgb(196, 135, 22);
transform:
rotateX(90deg)
translateY(-50%) /* deplacement vertical */
rotateX(-90deg)

translateX(0%)
translateY(0%)
scale3d(10,10,.5);
}

#ecran01 .cube:nth-child(2) {
background-color: rgb(31, 111, 216);
transform:
translateX(300%)
translateY(300%)
scale3d(4, 4, 4);
}

#ecran01 .cube:nth-child(3) {
background-color: rgb(245, 147, 0);
transform: 
translateY(900%) 
scaleZ(7);
}
#ecran01 .cube:nth-child(4) {
transform:
translateX(400%)
translateY(800%)
scale3d(2,.5,6);
}
#ecran01 .cube:nth-child(4) > div:nth-child(2) > div {
transform-origin: 0 0;
transform: scale(1, .333);
padding:.5em;
font-size: .5em;
line-height: 1em;
}
#ecran01 .cube:nth-child(4) > div:nth-child(2):before {
content:none;
}
#ecran01 .cube:nth-child(5) {
background-color: blueviolet;
transform:
rotateX(90deg)
translateY(200%)
rotateX(-90deg)

translateX(200%)
translateY(100%)
scale3d(1,1,1);
}
#ecran01 .cube:nth-child(6) {
background-color: rgb(105, 121, 35);
transform:
rotateX(90deg)
translateY(300%)
rotateX(-90deg)

translateX(200%)
translateY(100%)
scale3d(1,1,1);
}
#ecran01 .cube:nth-child(7) {
background-color: rgb(218, 27, 170);
transform:
rotateX(90deg)
translateY(600%)
rotateX(-90deg)

translateX(900%)
translateY(900%)
scale3d(1,1,1);
}
#ecran01 .cube:nth-child(8) {
background-color: rgb(221, 151, 0);
transform:
rotateX(90deg)
translateY(500%)
rotateX(-90deg)

translateX(900%)
translateY(900%)
scale3d(1,1,1);
}
#ecran01 .cube:nth-child(9) {
background-color: rgb(68, 27, 218);
transform:
rotateX(90deg)
translateY(400%)
rotateX(-90deg)

translateX(900%)
translateY(900%)
scale3d(1,1,1);
}
#ecran01 .cube:nth-child(10) {
background-color: rgb(218, 103, 27);
transform:
rotateX(90deg)
translateY(300%)
rotateX(-90deg)

translateX(900%)
translateY(900%)
scale3d(1,1,1);
}
#ecran01 .cube:nth-child(11) {
background-color: rgb(27, 218, 123);
transform:
rotateX(90deg)
translateY(200%)
rotateX(-90deg)

translateX(900%)
translateY(900%)
scale3d(1,1,1);
}
#ecran01 .cube:nth-child(12) {
background-color: rgb(27, 218, 170);
transform:
rotateX(90deg)
translateY(100%)
rotateX(-90deg)

translateX(900%)
translateY(900%)
scale3d(1,1,1);
}
#ecran01 .cube:nth-child(13) {
background-color: rgb(218, 27, 170);
transform:
rotateX(90deg)
translateY(0%)
rotateX(-90deg)

translateX(900%)
translateY(900%)
scale3d(1,1,1);
}
#ecran01 .cube:nth-child(14) {
background-color: rgb(0, 102, 255);
transform:
rotateX(90deg)
translateY(700%)
rotateX(-90deg)

translateX(900%)
translateY(0%)
scale3d(1,10,.5);
}
#ecran01 .cube:nth-child(15) {
background-color: rgba(187, 255, 0, 0.377);
transform:
rotateX(90deg)
translateY(0%)
rotateX(-90deg)

translateX(900%)
translateY(0%)
scale3d(.5,9,7);
}
#ecran01 .cube:nth-child(16) {
background-color: rgb(187, 255, 0);
transform:
rotateX(90deg)
translateY(0%)
rotateX(-90deg)

translateX(0%)
translateY(0%)
scale3d(4,1,3);
}
#ecran01 .cube:nth-child(17) {
background-color: rgb(187, 255, 0);
transform:
rotateX(90deg)
translateY(0%)
rotateX(-90deg)

translateX(0%)
translateY(0%)
scale3d(4,1,3);
}
#ecran01 .cube:nth-child(18) {
background-color: rgba(255, 255, 255, 0.096);
transform:
rotateX(90deg)
translateY(700%) /* deplacement vertical */
rotateX(-90deg)

translateX(0%)
translateY(0%)
scale3d(8,10,.5);
}
#ecran01 .cube:nth-child(19) {
background-color: rgba(255, 136, 0, 0.637);
transform:
rotateX(90deg)
translateY(300%) /* deplacement vertical */
rotateX(-90deg)

translateX(0%)
translateY(0%)
scale3d(4,1,3);
}
#ecran01 .cube:nth-child(20) {
background-color: rgb(0, 106, 245);
transform:
translate(700%,0%)
scaleZ(7);
}
  </style>
<input type="radio" name="vue" id="vue1">
  <input type="radio" name="vue" id="vue2">
  <input type="radio" name="vue" id="vue3">
  <input type="radio" name="vue" id="vue4">
  <input type="radio" name="vue" id="vue5">
  <input type="radio" name="vue" id="vue6">
  <input type="radio" name="vue" id="vue7" checked="">
  <input type="radio" name="vue" id="vue8">
  <input type="radio" name="vue" id="vue9">
  <input type="radio" name="vue" id="vue10">
  <input type="radio" name="vue" id="vue11">
  <div class="ecran" id="ecran01">
    <div class="socle">
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div>
          <div>
            Lorem ipsum dolor sit amet consectetur adipisicing elit. Obcaecati, voluptatibus repudiandae voluptatibus.
          </div>
        </div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
      <div class="cube">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
    </div>
  </div>



<p>Explication simplifier:</p>



<p>Quand on clique sur un bouton celui-ci affiche la vue correspondante</p>



<div class="wp-block-image"><figure class="aligncenter"><img width="540" height="889" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/cube03.jpg" alt="" class="wp-image-2543" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/cube03.jpg 540w, https://wp.gwd-france.com/wp-content/uploads/2019/01/cube03-182x300.jpg 182w, https://wp.gwd-france.com/wp-content/uploads/2019/01/cube03-300x494.jpg 300w" sizes="(max-width: 540px) 100vw, 540px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img width="538" height="917" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/cube03b.jpg" alt="" class="wp-image-2544" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/cube03b.jpg 538w, https://wp.gwd-france.com/wp-content/uploads/2019/01/cube03b-176x300.jpg 176w, https://wp.gwd-france.com/wp-content/uploads/2019/01/cube03b-300x511.jpg 300w" sizes="(max-width: 538px) 100vw, 538px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img width="543" height="866" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/cube03c.jpg" alt="" class="wp-image-2545" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/cube03c.jpg 543w, https://wp.gwd-france.com/wp-content/uploads/2019/01/cube03c-188x300.jpg 188w, https://wp.gwd-france.com/wp-content/uploads/2019/01/cube03c-300x478.jpg 300w" sizes="(max-width: 543px) 100vw, 543px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img width="539" height="904" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/cube03d.jpg" alt="" class="wp-image-2546" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/cube03d.jpg 539w, https://wp.gwd-france.com/wp-content/uploads/2019/01/cube03d-179x300.jpg 179w, https://wp.gwd-france.com/wp-content/uploads/2019/01/cube03d-300x503.jpg 300w" sizes="(max-width: 539px) 100vw, 539px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img width="576" height="395" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/cube03imgb.jpg" alt="" class="wp-image-2547" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/cube03imgb.jpg 576w, https://wp.gwd-france.com/wp-content/uploads/2019/01/cube03imgb-300x206.jpg 300w" sizes="(max-width: 576px) 100vw, 576px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img width="387" height="471" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/cube03img.jpg" alt="" class="wp-image-2548" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/cube03img.jpg 387w, https://wp.gwd-france.com/wp-content/uploads/2019/01/cube03img-246x300.jpg 246w, https://wp.gwd-france.com/wp-content/uploads/2019/01/cube03img-300x365.jpg 300w" sizes="(max-width: 387px) 100vw, 387px" /></figure></div>
]]></content:encoded>
					
					<wfw:commentRss>https://wp.gwd-france.com/2019/01/21/animation-3d/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Animation avec les »sprite »</title>
		<link>https://wp.gwd-france.com/2019/01/14/animation-avec-lessprite/</link>
		
		<dc:creator><![CDATA[yannick]]></dc:creator>
		<pubDate>Mon, 14 Jan 2019 08:20:04 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML-CSS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[web]]></category>
		<guid isPermaLink="false">https://wp.gwd-france.com/?p=2359</guid>

					<description><![CDATA[La technique consiste à charger toute les images d&#8217;une animation et de n&#8217;en afficher qu&#8217;une seul. Ensuite, de déplacer le fond de manière à faire apparaitre la seconde image, puis la troisième, etc &#8230; pour donner ainsi l&#8217;illusion de mouvement. Ceci peut-être répéter à l&#8217;infinie. Ici un exemple de code, donnant l&#8217;illusion d&#8217;un personnage qui...]]></description>
										<content:encoded><![CDATA[
<p>La technique consiste à charger toute les images d&rsquo;une animation et de n&rsquo;en afficher qu&rsquo;une seul. Ensuite, de déplacer le fond de manière à faire apparaitre la seconde image, puis la troisième, etc &#8230; pour donner ainsi l&rsquo;illusion de mouvement. Ceci peut-être répéter à l&rsquo;infinie.</p>



<p>Ici un exemple de code, donnant l&rsquo;illusion d&rsquo;un personnage qui marche:</p>



<div class="wp-block-image"><figure class="aligncenter"><img width="1328" height="1692" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-14-à-08.57.57.png" alt="" class="wp-image-2360" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-14-à-08.57.57.png 1328w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-14-à-08.57.57-235x300.png 235w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-14-à-08.57.57-768x979.png 768w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-14-à-08.57.57-804x1024.png 804w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-14-à-08.57.57-300x382.png 300w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-14-à-08.57.57-850x1083.png 850w" sizes="(max-width: 1328px) 100vw, 1328px" /></figure></div>



<p>L&rsquo;image de départ pour cette animation:</p>



<div class="wp-block-image"><figure class="aligncenter"><img width="1142" height="635" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/pGGbv.png" alt="" class="wp-image-2361" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/pGGbv.png 1142w, https://wp.gwd-france.com/wp-content/uploads/2019/01/pGGbv-300x167.png 300w, https://wp.gwd-france.com/wp-content/uploads/2019/01/pGGbv-768x427.png 768w, https://wp.gwd-france.com/wp-content/uploads/2019/01/pGGbv-1024x569.png 1024w, https://wp.gwd-france.com/wp-content/uploads/2019/01/pGGbv-850x473.png 850w" sizes="(max-width: 1142px) 100vw, 1142px" /></figure></div>



<p>Il est aisé de deviner que suivant la position du fond, avec cette planche de dessin, nous pourrons donner l&rsquo;illusion de quatre déplacements différents pour ce personnage.</p>



<p><strong>Par la suite</strong>&#8230;..</p>



<p>Deux animation, le texte, et le personnage plus la suite du texte, déclenchés par un clique sur le bouton.</p>



<p>Testez vous même! </p>



<p>N&rsquo;hésitez pas à réactualiser la page pour voir le début de l&rsquo;animation.</p>



<p></p>



<style>
       
.afficheur {
            margin: ;
            border-style: none;
            width: 150%;
            height: 282px;
transform:scale(.666);
transform-origin:0 0;
overflow: hidden;
        }
        .afficheur iframe {
            width: 100%;
            height: 120%;
            border: solid 1px #ccc;
        }
</style>

<div class="afficheur">
<iframe src="https://banniere1.gwd-france.com/" name="Animation Sprite" title="animationSprite"></iframe>
</div>



<div class="wp-block-image"><figure class="aligncenter"><img width="1572" height="2662" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-15-à-08.04.36.png" alt="" class="wp-image-2405" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-15-à-08.04.36.png 1572w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-15-à-08.04.36-177x300.png 177w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-15-à-08.04.36-768x1301.png 768w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-15-à-08.04.36-605x1024.png 605w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-15-à-08.04.36-300x508.png 300w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-15-à-08.04.36-850x1439.png 850w" sizes="(max-width: 1572px) 100vw, 1572px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img width="1586" height="1808" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-15-à-08.04.59-1.png" alt="" class="wp-image-2410" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-15-à-08.04.59-1.png 1586w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-15-à-08.04.59-1-263x300.png 263w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-15-à-08.04.59-1-768x876.png 768w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-15-à-08.04.59-1-898x1024.png 898w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-15-à-08.04.59-1-300x342.png 300w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-15-à-08.04.59-1-850x969.png 850w" sizes="(max-width: 1586px) 100vw, 1586px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img width="1584" height="2350" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-15-à-08.05.12-1.png" alt="" class="wp-image-2411" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-15-à-08.05.12-1.png 1584w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-15-à-08.05.12-1-202x300.png 202w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-15-à-08.05.12-1-768x1139.png 768w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-15-à-08.05.12-1-690x1024.png 690w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-15-à-08.05.12-1-300x445.png 300w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-15-à-08.05.12-1-850x1261.png 850w" sizes="(max-width: 1584px) 100vw, 1584px" /></figure></div>



<p>Le fichier js:</p>



<div class="wp-block-image"><figure class="aligncenter"><img width="1010" height="1090" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-15-à-08.05.39-1.png" alt="" class="wp-image-2412" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-15-à-08.05.39-1.png 1010w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-15-à-08.05.39-1-278x300.png 278w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-15-à-08.05.39-1-768x829.png 768w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-15-à-08.05.39-1-949x1024.png 949w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-15-à-08.05.39-1-300x324.png 300w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-15-à-08.05.39-1-850x917.png 850w" sizes="(max-width: 1010px) 100vw, 1010px" /></figure></div>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Animation et Javascript</title>
		<link>https://wp.gwd-france.com/2019/01/10/animation-et-javascript/</link>
		
		<dc:creator><![CDATA[yannick]]></dc:creator>
		<pubDate>Thu, 10 Jan 2019 14:22:10 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML-CSS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[web]]></category>
		<guid isPermaLink="false">https://wp.gwd-france.com/?p=2329</guid>

					<description><![CDATA[Une première animation avec intégration de javascript. En commentaire les différente méthode d&#8217;intégration du onclick. Dans le html ou dans un script. Il faut bien faire attention à ce que chaque bouton et élément devant être actionné en même temps face partie d&#8217;un parent commun. Le script du fichier classlist.js]]></description>
										<content:encoded><![CDATA[
<p>Une première animation avec intégration de javascript. En commentaire les différente méthode d&rsquo;intégration du onclick.  Dans le html ou dans un script.</p>



<div class="wp-block-image"><figure class="aligncenter"><img width="1616" height="2536" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.56.41.png" alt="" class="wp-image-2350" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.56.41.png 1616w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.56.41-191x300.png 191w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.56.41-768x1205.png 768w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.56.41-653x1024.png 653w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.56.41-300x471.png 300w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.56.41-850x1334.png 850w" sizes="(max-width: 1616px) 100vw, 1616px" /><figcaption><br></figcaption></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img width="1616" height="2500" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.56.59.png" alt="" class="wp-image-2351" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.56.59.png 1616w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.56.59-194x300.png 194w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.56.59-768x1188.png 768w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.56.59-662x1024.png 662w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.56.59-300x464.png 300w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.56.59-850x1315.png 850w" sizes="(max-width: 1616px) 100vw, 1616px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img width="1620" height="2138" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.57.13.png" alt="" class="wp-image-2352" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.57.13.png 1620w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.57.13-227x300.png 227w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.57.13-768x1014.png 768w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.57.13-776x1024.png 776w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.57.13-300x396.png 300w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.57.13-850x1122.png 850w" sizes="(max-width: 1620px) 100vw, 1620px" /></figure></div>



<p>Il faut bien faire attention à ce que chaque bouton et élément devant être actionné en même temps face partie d&rsquo;un parent commun. </p>



<p>Le script du fichier <em>classlist.js</em></p>



<figure class="wp-block-image"><img width="1028" height="1116" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.59.26.png" alt="" class="wp-image-2353" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.59.26.png 1028w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.59.26-276x300.png 276w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.59.26-768x834.png 768w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.59.26-943x1024.png 943w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.59.26-300x326.png 300w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.59.26-850x923.png 850w" sizes="(max-width: 1028px) 100vw, 1028px" /></figure>



<p></p>



<figure class="wp-block-image"><img width="2306" height="166" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.55.12.png" alt="" class="wp-image-2354" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.55.12.png 2306w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.55.12-300x22.png 300w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.55.12-768x55.png 768w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.55.12-1024x74.png 1024w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-11-à-10.55.12-850x61.png 850w" sizes="(max-width: 2306px) 100vw, 2306px" /></figure>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Animation</title>
		<link>https://wp.gwd-france.com/2019/01/09/animation-2/</link>
		
		<dc:creator><![CDATA[yannick]]></dc:creator>
		<pubDate>Wed, 09 Jan 2019 15:34:48 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML-CSS]]></category>
		<category><![CDATA[web]]></category>
		<guid isPermaLink="false">https://wp.gwd-france.com/?p=2269</guid>

					<description><![CDATA[La règle @keyframes Lorsque vous spécifiez des styles CSS dans la&#160;@keyframes&#160;règle, l&#8217;animation passera progressivement du style actuel au nouveau style à certains moments. Pour qu&#8217;une animation fonctionne, vous devez la lier à un élément. L&#8217;exemple suivant lie l&#8217;animation « exemple » à l&#8217;élément &#60;div&#62;.&#160;L&#8217;animation durera 4 secondes et changera progressivement la couleur de fond de l&#8217;élément &#60;div&#62;...]]></description>
										<content:encoded><![CDATA[
<h2>La règle @keyframes</h2>



<p>Lorsque vous spécifiez des styles CSS dans la&nbsp;<code>@keyframes</code>&nbsp;règle, l&rsquo;animation passera progressivement du style actuel au nouveau style à certains moments.</p>



<p>Pour qu&rsquo;une animation fonctionne, vous devez la lier à un élément.</p>



<p>L&rsquo;exemple suivant lie l&rsquo;animation « exemple » à l&rsquo;élément &lt;div&gt;.&nbsp;L&rsquo;animation durera 4 secondes et changera progressivement la couleur de fond de l&rsquo;élément &lt;div&gt; de « rouge » à « jaune »:</p>



<pre class="wp-block-preformatted">/* The animation code */ <br>@keyframes example&nbsp;{ <br>from&nbsp;{<br>background-color:&nbsp;red;<br>} <br>to&nbsp;{<br>background-color:&nbsp;yellow;<br>} <br>} <br>/* The element to apply the animation to */ <br>div&nbsp;{ <br>width:&nbsp;100px; <br>height:&nbsp;100px; <br>background-color:&nbsp;red; <br>animation-name:&nbsp;example; <br>animation-duration:&nbsp;4s; <br>}<br>}</pre>



<pre class="wp-block-preformatted">La&nbsp;<code>animation-iteration-count&nbsp;</code>propriété spécifie le nombre de fois qu'une animation doit être exécutée.<br>L'exemple suivant exécute l'animation 3 fois avant son arrêt:<br>&nbsp;<br>div&nbsp;{ &nbsp;<br>&nbsp;width:&nbsp;100px; &nbsp;&nbsp;<br>height:&nbsp;100px; &nbsp;&nbsp;<br>position:&nbsp;relative; &nbsp;&nbsp;<br>background-color:&nbsp;red; &nbsp;&nbsp;<br>animation-name:&nbsp;example; &nbsp;&nbsp;<br>animation-duration:&nbsp;4s; &nbsp;&nbsp;<br>animation-iteration-count:&nbsp;3; <br>}<br>L'exemple suivant utilise la valeur "infinite" pour que l'animation continue à jamais:<br><br>div&nbsp;{ &nbsp; <br>width:&nbsp;100px; &nbsp; <br>height:&nbsp;100px; &nbsp; <br>position:&nbsp;relative; &nbsp;&nbsp;<br>background-color:&nbsp;red; &nbsp;&nbsp;<br>animation-name:&nbsp;example; &nbsp;&nbsp;<br>animation-duration:&nbsp;4s; &nbsp; <br>animation-iteration-count:&nbsp;<br>infinite; <br>}<br>La&nbsp;<code>animation-direction&nbsp;</code>propriété spécifie si une animation doit être lue en avant, en arrière ou en alternance.<br>La propriété animation-direction peut avoir les valeurs suivantes:<br></pre>



<ul><li><code>normal</code>&#8211; L&rsquo;animation est lue normalement (en avant).&nbsp;C&rsquo;est par défaut<br></li><li><code>reverse</code>&nbsp;&#8211; L&rsquo;animation est lue en sens inverse (en arrière)<br></li><li><code>alternate&nbsp;</code>&#8211; L&rsquo;animation est jouée en avant puis en arrière<br></li><li><code>alternate-reverse</code>&nbsp;&#8211; L&rsquo;animation est lue en premier, puis en avant<br><br></li></ul>



<p>La&nbsp;<code>animation-timing-function&nbsp;</code>propriété spécifie la courbe de vitesse de l&rsquo;animation.</p>



<p>La propriété animation-timing-function peut avoir les valeurs suivantes:</p>



<ul><li><code>ease</code>&nbsp;&#8211; Spécifie une animation avec un début lent, puis rapide, puis se termine lentement (par défaut)<br></li><li><code>linear</code>&nbsp;&#8211; Spécifie une animation avec la même vitesse du début à la fin<br></li><li><code>ease-in</code>&nbsp;&#8211; Spécifie une animation avec un démarrage lent<br></li><li><code>ease-out</code>&nbsp;&#8211; Spécifie une animation avec une fin lente<br></li><li><code>ease-in-out</code>&nbsp;&#8211; Spécifie une animation avec un début et une fin lents<br></li><li><code>cubic-bezier(n,n,n,n)</code>&nbsp;&#8211; Vous permet de définir vos propres valeurs dans une fonction cubic-bezier</li><li></li></ul>



<p></p>



<p>L&rsquo;exemple suivant montre les différentes courbes de vitesse pouvant être utilisées:</p>



<pre class="wp-block-preformatted">#div1&nbsp;{animation-timing-function:&nbsp;linear;} <br>#div2&nbsp;{animation-timing-function:&nbsp;ease;} <br>#div3&nbsp;{animation-timing-function:&nbsp;ease-in;} <br>#div4&nbsp;{animation-timing-function:&nbsp;ease-out;} <br>#div5&nbsp;{animation-timing-function:&nbsp;ease-in-out;}</pre>



<p>Les animations CSS n&rsquo;affectent pas un élément avant la lecture de la première image clé ou après la lecture de la dernière image clé.&nbsp;La propriété animation-fill-mode peut remplacer ce comportement.</p>



<p>La&nbsp;<code>animation-fill-mode&nbsp;</code>propriété spécifie un style pour l&rsquo;élément cible lorsque l&rsquo;animation n&rsquo;est pas en lecture (avant le début, après la fin ou les deux).</p>



<p>La propriété animation-fill-mode peut avoir les valeurs suivantes:</p>



<ul><li><code>none</code>&#8211; Valeur par défaut.&nbsp;L&rsquo;animation n&rsquo;appliquera aucun style à l&rsquo;élément avant ou après son exécution.<br></li><li><code>forwards</code>&nbsp;&#8211; L&rsquo;élément conservera les valeurs de style définies par la dernière image clé (dépend de l&rsquo;animation-direction et de l&rsquo;animation-itération-nombre).<br></li><li><code>backwards</code>&nbsp;&#8211; L&rsquo;élément obtiendra les valeurs de style définies par la première image clé (dépend de la direction de l&rsquo;animation) et les conservera pendant la période de délai d&rsquo;animation.<br></li><li><code>both</code>&nbsp;&#8211; L&rsquo;animation suivra les règles pour les deux sens, en étendant les propriétés de l&rsquo;animation dans les deux sens</li></ul>



<p>L&rsquo;exemple suivant permet à l&rsquo;élément &lt;div&gt; de conserver les valeurs de style de la dernière image clé à la fin de l&rsquo;animation:</p>



<pre class="wp-block-preformatted">div&nbsp;{ &nbsp; <br>width:&nbsp;100px; &nbsp; <br>height:&nbsp;100px; &nbsp;&nbsp;<br>background:&nbsp;red; &nbsp;&nbsp;<br>position:&nbsp;relative; &nbsp;&nbsp;<br>animation-name:&nbsp;example; &nbsp; <br>animation-duration:&nbsp;3s; &nbsp; <br>animation-fill-mode:&nbsp;forwards; }</pre>



<p><strong>Animation Sténographie</strong></p>



<p>L&rsquo;exemple ci-dessous utilise six propriétés d&rsquo;animation:</p>



<pre class="wp-block-preformatted">div&nbsp;{ &nbsp; <br>animation-name:&nbsp;example; &nbsp; <br>animation-duration:&nbsp;5s; &nbsp; <br>animation-timing-function:&nbsp;linear; &nbsp; <br>animation-delay:&nbsp;2s; &nbsp; <br>animation-iteration-count:&nbsp;infinite; &nbsp; <br>animation-direction:&nbsp;alternate; <br>}<br></pre>



<p>Le même effet d&rsquo;animation que ci-dessus peut être obtenu en utilisant la&nbsp;<code>animation&nbsp;</code>propriété&nbsp;abrégée&nbsp;:</p>



<pre class="wp-block-preformatted">div&nbsp;{ &nbsp; <br>animation:&nbsp;example 5s linear 2s infinite alternate; <br>}</pre>



<p>La&nbsp;<code>animation-play-state&nbsp;</code>propriété spécifie si l&rsquo;animation est en cours d&rsquo;exécution ou en pause.Les valeurs:</p>



<ul><li>paused (Spécifie que l&rsquo;animation est en pause)</li><li>running (Spécifie que l&rsquo;animation est en cours d&rsquo;exécution)</li><li>initial (Définit cette propriété à sa valeur par défaut)</li><li>inherit (Hérite cette propriété de son élément parent)</li></ul>



<p>Mettre en pause une animation:</p>



<pre class="wp-block-preformatted">div&nbsp;{ &nbsp; <br>animation-play-state:&nbsp;paused;<br>}</pre>



<p>Exemple:</p>



<pre class="wp-block-preformatted">div:hover&nbsp;{ &nbsp;&nbsp;<br>animation-play-state:&nbsp;paused; <br>}<br><br></pre>



<h4><strong>Illustration de ce cour:</strong></h4>



<figure class="wp-block-image"><img width="1162" height="2314" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-08-à-12.18.37.png" alt="" class="wp-image-2210" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-08-à-12.18.37.png 1162w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-08-à-12.18.37-151x300.png 151w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-08-à-12.18.37-768x1529.png 768w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-08-à-12.18.37-514x1024.png 514w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-08-à-12.18.37-300x597.png 300w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-08-à-12.18.37-850x1693.png 850w" sizes="(max-width: 1162px) 100vw, 1162px" /></figure>



<figure class="wp-block-image"><img width="1162" height="1988" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-08-à-12.19.13-1.png" alt="" class="wp-image-2235" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-08-à-12.19.13-1.png 1162w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-08-à-12.19.13-1-175x300.png 175w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-08-à-12.19.13-1-768x1314.png 768w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-08-à-12.19.13-1-599x1024.png 599w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-08-à-12.19.13-1-300x513.png 300w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-08-à-12.19.13-1-850x1454.png 850w" sizes="(max-width: 1162px) 100vw, 1162px" /></figure>



<figure class="wp-block-image"><img width="1162" height="2660" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-08-à-12.19.36-1.png" alt="" class="wp-image-2236" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-08-à-12.19.36-1.png 1162w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-08-à-12.19.36-1-131x300.png 131w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-08-à-12.19.36-1-768x1758.png 768w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-08-à-12.19.36-1-447x1024.png 447w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-08-à-12.19.36-1-300x687.png 300w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-08-à-12.19.36-1-850x1946.png 850w" sizes="(max-width: 1162px) 100vw, 1162px" /></figure>



<title>Animations css 01</title>
    <link href="https://fonts.googleapis.com/css?family=Parisienne|Roboto:100,100i,300,300i,400,400i,500,500i,700,700i,900,900i" rel="stylesheet">
    <style>
        *,
        ::before,
        ::after {
            box-sizing: border-box;
        }

        html {
            font-size: 100%;
        }

        body {
            font: 1em/1.5 Roboto, sans-serif;
        }

        .titre-site {
            margin: 0;
            font: 100 4em/1 Roboto, sans-serif;
        }

        .bloc-exemple {
            width: 200px;
            margin: 30px;
            display: inline-block;
            vertical-align: bottom;
        }

        .legende-exemple {
            display: block;
            unicode-bidi: embed;
            font-family: monospace;
            white-space: pre;
            font-size: .8em;
        }

        .exemple {
            width: 200px;
            height: 200px;
            background-color: #dfe4ec;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .sprite {
            width: 10%;
            height: 10%;
            font-size: 20px;
            line-height: 20px;
            text-align: center;
            font-weight: bolder;
            color: white;
            background-color: #f00;
        }

        @keyframes animation01 {
            from {
                transform: translate(-400%, 0);
                background-color:#8f0;
            }

            50% {
                transform: translate(0, 400%);
            }

            to {
                transform: translate(400%, 0);
                background-color:#f08;
            }
        }
        #exemple01:hover .sprite {
            animation-name: animation01;
            animation-duration: 3s;
            animation-delay: 1s;
            animation-timing-function: linear;
        }

        #exemple02:hover .sprite {
            animation-name: animation01;
            animation-duration: 3s;
            animation-delay: 1s;
            animation-timing-function: linear;
            animation-iteration-count: infinite;
        }

        #exemple03:hover .sprite {
            animation-name: animation01;
            animation-duration: 3s;
            animation-delay: 1s;
            animation-timing-function: linear;
            animation-iteration-count: infinite;
            animation-direction: alternate-reverse;
        }
        #exemple04:hover .sprite {
            animation-name: animation01;
            animation-duration: 3s;
            animation-delay: 1s;
            animation-timing-function: linear;
            animation-fill-mode:both;
        }
        #exemple05 .sprite {
            animation-name: animation01;
            animation-duration: 1s;
            animation-iteration-count: infinite;
            animation-play-state: paused;
        }
        #exemple05:hover .sprite {
            animation-play-state: running;
        }
    </style>     
 <div class="groupe-exemples">
            <div class="bloc-exemple">
                <div class="legende-exemple">
animation-name: animation01;
animation-duration:3s;
animation-delay:1s;
animation-timing-function: linear;
                </div>
                <div class="exemple" id="exemple01">
                    <div class="sprite">4</div>
                </div>
            </div>
            <div class="bloc-exemple">
                <div class="legende-exemple">
animation-name: animation01;
animation-duration:3s;
animation-delay:1s;
animation-timing-function: linear;
animation-iteration-count:infinite;
                </div>
                <div class="exemple" id="exemple02">
                    <div class="sprite">4</div>
                </div>
            </div>
            <div class="bloc-exemple">
                <div class="legende-exemple">
animation-name: animation01;
animation-duration:3s;
animation-delay:1s;
animation-timing-function: linear;
animation-iteration-count:infinite;
animation-direction: alternate-reverse;
                </div>
                <div class="exemple" id="exemple03">
                    <div class="sprite">4</div>
                </div>
            </div>
            <div class="bloc-exemple">
                <div class="legende-exemple">
animation-name: animation01;
animation-duration: 3s;
animation-delay: 1s;
animation-timing-function: linear;
animation-fill-mode:both;
                </div>
                <div class="exemple" id="exemple04">
                    <div class="sprite">4</div>
                </div>
            </div>
            <div class="bloc-exemple">
                <div class="legende-exemple">
#exemple05 .sprite {
    animation-name: animation01;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-play-state: paused;
}
#exemple05:hover .sprite {
    animation-play-state: running;
}               
                </div>
                <div class="exemple" id="exemple05">
                    <div class="sprite">4</div>
                </div>
            </div>
        </div>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
