<?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>CSS &#8211; Premier site en local sur wordpress</title>
	<atom:link href="https://wp.gwd-france.com/category/web/css/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>Mon, 09 Sep 2019 16:10:38 +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>Flex Box</title>
		<link>https://wp.gwd-france.com/2019/09/01/flex-box-2/</link>
		
		<dc:creator><![CDATA[yannick]]></dc:creator>
		<pubDate>Sun, 01 Sep 2019 08:54:19 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML-CSS]]></category>
		<category><![CDATA[web]]></category>
		<guid isPermaLink="false">https://wp.gwd-france.com/?p=6080</guid>

					<description><![CDATA[En css { display: flex; (Placer les blocs côte à côte, ligne)   flex-direction: column; (en colonnes) row; (par défaut, ligne)row-reverse; (ordre inverse)column-reverse; (ordre inverse)   flex-wrap: wrap; (passe à la ligne, aussi pour les colonnes) no-wrap; (annule)wrap-reverse; (en inversant)   Aligner sur l&#8217;axe principal :justify-content: flex-start; (au début) flex-end; (à la fin)center; (au centre)space-between;...]]></description>
										<content:encoded><![CDATA[
<p><strong>En css</strong></p>


<p></p>


</p>
<p>{</p>
<p>



</p>
<p><span style="color: #3366ff;">display: flex;</span> <em><strong> (Placer les blocs côte à côte, ligne)</strong></em></p>
<p> </p>
<p>



</p>
<p><span style="color: #3366ff;">flex-direction: column;</span> <strong><em>(en colonnes)</em></strong></p>
<p style="padding-left: 120px;"><span style="color: #3366ff;">row;</span> <strong><em>(par défaut, ligne)</em></strong><br /><span style="color: #3366ff;">row-reverse;</span> <strong><em>(ordre inverse)</em></strong><br /><span style="color: #3366ff;">column-reverse;</span> <strong><em>(ordre inverse)</em></strong></p>
<p> </p>
<p>



</p>
<p><span style="color: #3366ff;">flex-wrap: wrap;</span> <strong><em>(passe à la ligne, aussi pour les colonnes)</em></strong></p>
<p style="padding-left: 80px;"><span style="color: #3366ff;">no-wrap;</span> <strong><em> (annule)</em></strong><br /><span style="color: #3366ff;">wrap-reverse;</span> <strong><em>(en inversant)</em></strong></p>
<p> </p>
<p>



</p>
<p><strong>Aligner sur l&rsquo;axe principal :</strong><br /><span style="color: #3366ff;">justify-content: flex-start;</span> <strong><em>(au début)</em></strong></p>
<p style="padding-left: 120px;"><span style="color: #3366ff;">flex-end;</span> <strong><em>(à la fin)</em></strong><br /><span style="color: #3366ff;">center;</span> <strong><em>(au centre)</em></strong><br /><span style="color: #3366ff;">space-between;</span> <strong><em> ( les éléments sont étirés sur tout l&rsquo;axe, il y a de l&rsquo;espace entre eux)</em></strong><br /><span style="color: #3366ff;">space-around;</span> <strong><em>(les éléments sont étirés sur tout l&rsquo;axe, mais ils laissent aussi de l&rsquo;espace sur les extrémités)</em></strong></p>
<p> </p>
<p>



</p>
<p><strong>Aligner sur l&rsquo;axe secondaire :</strong><br /><span style="color: #3366ff;">align-items: stretch;</span> <strong><em>( les éléments sont étirés sur tout l&rsquo;axe (valeur par défaut))</em></strong></p>
<p style="padding-left: 80px;"><span style="color: #3366ff;">flex-start;</span> <strong><em>(alignés au début)</em></strong><br /><span style="color: #3366ff;">flex-end;</span> <strong><em>(alignés à la fin)</em></strong><br /><span style="color: #3366ff;">center;</span> <strong><em>(alignés au centre)</em></strong><br /><span style="color: #3366ff;">baseline;</span> <strong><em>(alignés sur la ligne de base (semblable à flex-start))</em></strong></p>
<p>



</p>
<p><br /><strong>Il est possible de faire une exception pour un seul des éléments sur l&rsquo;axe secondaire avec</strong><code> :</code></p>
<p>



</p>
<p><span style="color: #3366ff;">align-self: flex-end;</span> <strong><em>(aligne le seul élément à la fin)</em></strong></p>
<p style="padding-left: 80px;"><span style="color: #3366ff;">flex-start;</span> <strong><em>(aligne le seul élément au début)</em></strong></p>
<p> </p>
<p>



</p>
<p><strong>Répartir plusieurs lignes</strong> :<br /><span style="color: #3366ff;">align-content: flex-start;</span> <strong><em>(les éléments sont placés au début)</em></strong></p>
<p style="padding-left: 120px;"><span style="color: #3366ff;">flex-end;</span> <strong><em>(les éléments sont placés à la fin)</em></strong><br /><span style="color: #3366ff;">center;</span> <strong><em>(les éléments sont placés au centre)</em></strong><br /><span style="color: #3366ff;">space-between;</span> <strong><em>(les éléments sont séparés avec de l&rsquo;espace entre eux)</em></strong><br /><span style="color: #3366ff;">space-around;</span> <strong><em>(idem, mais il y a aussi de l&rsquo;espace au début et à la fin)</em></strong><br /><span style="color: #3366ff;">stretch;</span> <strong><em>((par défaut) les éléments s&rsquo;étirent pour occuper tout l&rsquo;espace)</em></strong></p>
<p> </p>
<p>



</p>
<p><strong>Changer l&rsquo;ordre d&rsquo;un élément :</strong><br /><span style="color: #3366ff;">order: 3;</span> <strong><em>(place l&rsquo;élément en 3eme position)</em></strong></p>
<p> </p>
<p>



</p>
<p><strong>Faire grossir ou maigrir les éléments</strong> :<br /><span style="color: #3366ff;">flex: 1;</span> <strong><em>(l&rsquo;élément occupe tout l&rsquo;espace restant)</em></strong><br /><span style="color: #3366ff;">flex: 2;</span> <strong><em>(l&rsquo;élément peut grossir deux fois plus que le premier)</em></strong></p>
<p> </p>
<p>



</p>
<p><strong>Donner la largeur de l&rsquo;élément :</strong><br /><span style="color: #3366ff;">flex-basis: 100px;</span></p>
<p style="padding-left: 80px;"><span style="color: #3366ff;">calc(100% &#8211; 25% -10px);</span></p>
<p> </p>
<p>



</p>
<p><strong>Capacité à grossir :</strong><br /><span style="color: #3366ff;">flex-grow : 0;</span> <strong><em>(ne grossit pas)</em></strong></p>
<p style="padding-left: 80px;"><span style="color: #3366ff;">1;</span> <strong><em> (autorise à se déformer)</em></strong><br /><span style="color: #3366ff;">2;</span> <strong><em> (autorise à se déformer 2 fois plus)</em></strong></p>
<p> </p>
<p>



</p>
<p><strong>Capacité à maigrir :</strong><br /><span style="color: #3366ff;">flex-shrink: 0;</span> <strong><em>(ne maigrit pas)</em></strong></p>
<p style="padding-left: 80px;"><span style="color: #3366ff;">1;</span> <strong><em> (autorise à maigrir)</em></strong><br /><span style="color: #3366ff;">2;</span> <strong><em> (autorise à maigrir 2 fois plus)</em></strong></p>
<p><br />}</p>
<p>


<p></p>]]></content:encoded>
					
		
		
			</item>
		<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>« GRID »- grille CSS</title>
		<link>https://wp.gwd-france.com/2019/03/09/grid-grille-css/</link>
		
		<dc:creator><![CDATA[yannick]]></dc:creator>
		<pubDate>Sat, 09 Mar 2019 13:23:16 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML-CSS]]></category>
		<guid isPermaLink="false">https://wp.gwd-france.com/?p=5904</guid>

					<description><![CDATA[Pour mettre en place la grille css il nous faut définir le parent (généralement une enveloppe) en lui attribuant plusieurs choses. display: grid; (appel).grid-template-columns (défini la largeur des colonnes, fr = fraction)grid-gap (donne la largeur des goutières)Nous lui attribuons « grid-auto-flow: dense; » qui l&#8217;oblige à combler les vides au lieu que les blocs se suivent. ex:...]]></description>
										<content:encoded><![CDATA[
<p>Pour mettre en place la grille css il nous faut définir le parent (généralement une enveloppe) en lui attribuant plusieurs choses.</p>



<p>display: grid; (appel).<br>grid-template-columns (défini la largeur des colonnes, fr = fraction)<br>grid-gap (donne la largeur des goutières)<br>Nous lui attribuons « grid-auto-flow: dense; » qui l&rsquo;oblige à combler les vides au lieu que les blocs se suivent.</p>



<p>ex:</p>



<pre class="wp-block-preformatted">#conteneur {<br>display:grid;<br>grid-template-columns: 120px 1fr 1fr 1fr;<br>grid-gap: 1rem;<br>grid-auto-flow: dense;<br>}</pre>



<p>Ensuit l&rsquo;enfant. <br>Ici le contenu 01 va se placer, à la deuxième rangée, à partir de la première colonne, et finir, à la troisième rangée et à la cinquième colonne.</p>



<pre class="wp-block-preformatted">#contenu01{<br>grid-area: 2/1/3/5;<br></pre>



<p>Nous pouvons utiliser d&rsquo;autres valeurs.<br>Ici il n&rsquo;y aura que l&rsquo;étendu sur deux rangées et deux colonnes de contrôlé.<br></p>



<pre class="wp-block-preformatted">#contenu02{<br>grid-area: auto/auto/span2/span2;<br>}</pre>



<p>Une autre méthode consiste à établir des noms de zone pour chaque cellules de la grille et ensuite dire quel contenu sera affecté à cette zone.</p>



<pre class="wp-block-preformatted">#conteneur {<br>display:grid;<br>grid-template-columns: 120px 1fr 1fr 1fr;<br>grid-gap: 1rem;<br>grid-template-areas:<br>"navigation entête     entête     entête"<br>"navigation principal  principal  annexes-01"<br>"navigation annexes"02 annexes"02 annexes"01"<br>"pied       pied       pied       pied"<br>}<br><br>#contenu01 {<br>grid-area: entête;<br>}<br>#contenu02 {<br>grid-area: navigation;<br>}<br>#contenu03 {<br>grid-area: principal;<br>}<br>#contenu04 {<br>grid-area: annexes-01;<br>}<br>#contenu05 {<br>grid-area: annexes-02;<br>}<br>#contenu06 {<br>grid-area: pied;<br>}<br><br></pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Bloc, proportion</title>
		<link>https://wp.gwd-france.com/2019/02/22/bloc-proportion/</link>
		
		<dc:creator><![CDATA[yannick]]></dc:creator>
		<pubDate>Fri, 22 Feb 2019 08:21:13 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML-CSS]]></category>
		<guid isPermaLink="false">https://wp.gwd-france.com/?p=2623</guid>

					<description><![CDATA[Quelques exemples pour garder les blocs proportionnels, hauteur-largeur. Avec les nouvelles « dimension » VW pour la largeur et la hauteur. Ou en insérant un bloc invisible à l&#8217;aide d&#8217;un : : before et d&#8217;un display: flex; Cette méthode peut-être utile pour les iframe. Exemple de code:]]></description>
										<content:encoded><![CDATA[
<p>Quelques exemples pour garder les blocs proportionnels, hauteur-largeur.</p>



<p>Avec les nouvelles « dimension » <em>VW</em> pour la largeur et la hauteur.</p>



<p>Ou en insérant un bloc invisible à l&rsquo;aide d&rsquo;un<em> : : before</em> et d&rsquo;un <em>display: flex;</em> Cette méthode peut-être utile pour les <em>iframe</em>.</p>



<p></p>



<p>Exemple de code:</p>



<figure class="wp-block-image"><img width="543" height="905" src="https://wp.gwd-france.com/wp-content/uploads/2019/02/bloc-proportion1.jpg" alt="" class="wp-image-2624" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/02/bloc-proportion1.jpg 543w, https://wp.gwd-france.com/wp-content/uploads/2019/02/bloc-proportion1-180x300.jpg 180w, https://wp.gwd-france.com/wp-content/uploads/2019/02/bloc-proportion1-300x500.jpg 300w" sizes="(max-width: 543px) 100vw, 543px" /></figure>



<figure class="wp-block-image is-resized"><img src="https://wp.gwd-france.com/wp-content/uploads/2019/02/bloc-proportion2.jpg" alt="" class="wp-image-2625" width="543" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/02/bloc-proportion2.jpg 583w, https://wp.gwd-france.com/wp-content/uploads/2019/02/bloc-proportion2-300x291.jpg 300w" sizes="(max-width: 583px) 100vw, 583px" /></figure>
]]></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>Evaluation</title>
		<link>https://wp.gwd-france.com/2019/01/10/evaluation-3/</link>
					<comments>https://wp.gwd-france.com/2019/01/10/evaluation-3/#respond</comments>
		
		<dc:creator><![CDATA[yannick]]></dc:creator>
		<pubDate>Thu, 10 Jan 2019 07:27:10 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML-CSS]]></category>
		<category><![CDATA[web]]></category>
		<guid isPermaLink="false">https://wp.gwd-france.com/?p=2292</guid>

					<description><![CDATA[Une bannière à reproduire. D W 0 2 Les Web Designers de première classe Mon code: Le code du prof: Le: animation-fill-mode: both;&#160;&#160;sert&#160;ici au fait que les billes étant placé à gauche (dans l&#8217;exemple du prof), les billes ne seront pas vues a gauche au démarrage. Nous pouvons faire repartir les billes, au survol, en...]]></description>
										<content:encoded><![CDATA[
<p>Une bannière à reproduire.</p>



<link href="https://fonts.googleapis.com/css?family=Orbitron:400,900" rel="stylesheet">
    <style>
        * {
            box-sizing:border-box;
        }
        body {
            margin:0;
        }
        .entete-page {
            background-color: #b00;
        }
        .banniere {
            max-width:960px;
            margin:0 auto;
            height:90px;
            display:flex;
            align-items:flex-end;
            font-family: Orbitron,sans-serif;
            font-weight:400;
            overflow:hidden;
        }
        .titre-site {
            display:flex;
        }
        .bille {
            width:40px;
            height:40px;
            border-radius:50%;
            font-weight:bolder;
            color:white;
            background-color: #b00;
            text-align:center;
            line-height:40px;
position:relative;
            z-index: 100;
        }
        .bille:nth-child(n+3) {
            color:black;
            background-color: white;
        }
        .slogan-site {
            letter-spacing:.3em;
            margin-left:1em;
        }


        @keyframes billes {
            from {
                opacity:0;
                transform: translate(960px,0) rotate(2750deg);
            }
            to {
                opacity:1;
                transform: translate(0,0) rotate(0);
            }
        }
        .bille {
            animation: billes 3s ease-out;
            animation-fill-mode: both;
        }
        .bille:nth-child(2){
            animation-delay:1s;
        }
        .bille:nth-child(3){
            animation-delay:2s;
        }
        .bille:nth-child(4){
            animation-delay:3s;
        }

        @keyframes banniere {
            from {
                background-color: black;
            }
            to {
                background-color: #ddd;
            }
        }
        .banniere {
            animation: banniere 2s ease 5s;
            animation-fill-mode:both;
        }

        @keyframes variation-opacite {
            from {
                opacity:0;
            }
            to {
                opacity:1;
            }
        }
        .slogan-site {
            animation: variation-opacite 2s 5s;
            animation-fill-mode:both; 
        }


        .banniere:hover .bille{
            animation: billes-retour 3s ease-out;
            animation-fill-mode: both;
        }      
        @keyframes billes-retour {
            from {
                opacity:1;
                transform: translate(0,0) rotate(0);
            }
            to {
                opacity:0;
                transform: translate(960px,0) rotate(2750deg);
            }
        }
        .banniere:hover{
            animation: banniere-retour 2s ease 0s;
            animation-fill-mode: both;
        }
        @keyframes banniere-retour {
            from {
                background-color: #ddd;
            }
            to {
                background-color: rgb(0, 0, 0);
            }
        }
        .banniere:hover .slogan-site{
            animation: variation-opacite 2s 5s;
            animation-fill-mode:both; 
        }
        @keyframes variation-opacite {
            from {
                opacity:0;
            }
            to {
                opacity:1;
            }
        }
    </style>
<div class="enveloppe">
        <header class="entete-page">
            <div class="banniere">
                <div class="titre-site">
                    <div class="bille">D</div>
                    <div class="bille">W</div>
                    <div class="bille">0</div>
                    <div class="bille">2</div>
                </div>
                <div class="slogan-site">Les Web Designers de première classe</div>
            </div>
        </header>
    </div>



<p>Mon code:</p>



<p></p>



<div class="wp-block-image"><figure class="aligncenter"><img width="1390" height="2562" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-10-à-08.41.43.png" alt="" class="wp-image-2297" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-10-à-08.41.43.png 1390w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-10-à-08.41.43-163x300.png 163w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-10-à-08.41.43-768x1416.png 768w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-10-à-08.41.43-556x1024.png 556w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-10-à-08.41.43-300x553.png 300w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-10-à-08.41.43-850x1567.png 850w" sizes="(max-width: 1390px) 100vw, 1390px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img width="1380" height="1668" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-10-à-08.41.59.png" alt="" class="wp-image-2296" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-10-à-08.41.59.png 1380w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-10-à-08.41.59-248x300.png 248w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-10-à-08.41.59-768x928.png 768w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-10-à-08.41.59-847x1024.png 847w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-10-à-08.41.59-300x363.png 300w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-10-à-08.41.59-850x1027.png 850w" sizes="(max-width: 1380px) 100vw, 1380px" /></figure></div>



<p>Le code du prof:</p>



<p>Le: <strong>animation-fill-mode: both;&nbsp;&nbsp;</strong>sert&nbsp;ici au fait que les billes étant placé à gauche (dans l&rsquo;exemple du prof), les billes ne seront pas vues a gauche au démarrage.</p>



<div class="wp-block-image"><figure class="aligncenter"><img width="1398" height="2528" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-10-à-08.55.10.png" alt="" class="wp-image-2302" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-10-à-08.55.10.png 1398w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-10-à-08.55.10-166x300.png 166w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-10-à-08.55.10-768x1389.png 768w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-10-à-08.55.10-566x1024.png 566w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-10-à-08.55.10-300x542.png 300w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-10-à-08.55.10-850x1537.png 850w" sizes="(max-width: 1398px) 100vw, 1398px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter"><img width="1376" height="1924" src="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-10-à-08.55.26.png" alt="" class="wp-image-2301" srcset="https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-10-à-08.55.26.png 1376w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-10-à-08.55.26-215x300.png 215w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-10-à-08.55.26-768x1074.png 768w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-10-à-08.55.26-732x1024.png 732w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-10-à-08.55.26-300x419.png 300w, https://wp.gwd-france.com/wp-content/uploads/2019/01/Capture-d’écran-2019-01-10-à-08.55.26-850x1189.png 850w" sizes="(max-width: 1376px) 100vw, 1376px" /></figure></div>



<p>Nous pouvons faire repartir les billes, au survol, en ajoutant au code:</p>



<pre class="wp-block-preformatted">@keyframes billes-retour {<br>            from {<br>                opacity:1;<br>                transform: translate(0,0) rotate(0);<br>            }<br>            to {<br>                opacity:0;<br>                transform: translate(960px,0) rotate(2750deg);<br>            }<br>        }<br>        .banniere:hover{<br>            animation: banniere-retour 2s ease 0s;<br>            animation-fill-mode: both;<br>        }<br>        @keyframes banniere-retour {<br>            from {<br>                background-color: #ddd;<br>            }<br>            to {<br>                background-color: rgb(0, 0, 0);<br>            }<br>        }<br>        .banniere:hover .slogan-site{<br>            animation: variation-opacite 2s 5s;<br>            animation-fill-mode:both; <br>        }<br>        @keyframes variation-opacite {<br>            from {<br>                opacity:0;<br>            }<br>            to {<br>                opacity:1;<br>            }<br>        }</pre>
]]></content:encoded>
					
					<wfw:commentRss>https://wp.gwd-france.com/2019/01/10/evaluation-3/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</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>
