call-to-action.html 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  7. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css">
  8. <link rel="stylesheet" href="normalize.css">
  9. <link rel="stylesheet" href="style.css">
  10. <title>Document</title>
  11. </head>
  12. <body class="body-- nodebug">
  13. <h1>Call to action (small container)</h1>
  14. <div class="show-case">
  15. <div class="cta">
  16. <div class="cta__banner">
  17. <i class="cta__banner-element fa fa-exclamation-circle fa-2x"></i>
  18. <h1 class="cta__banner-element">The title</h1>
  19. </div>
  20. <p class="cta__text">The short text to convince you !</p>
  21. <button class="cta__button">The button !</button>
  22. </div>
  23. </div>
  24. <h1>Call to action</h1>
  25. <div class="show-case show-case--big">
  26. <div class="cta">
  27. <div class="cta__banner">
  28. <i class="cta__banner-element fa fa-exclamation-circle fa-3x"></i>
  29. <h1 class="cta__banner-element">The title</h1>
  30. </div>
  31. <p class="cta__text">The short text to convince you !</p>
  32. <button class="cta__button">The button !</button>
  33. </div>
  34. </div>
  35. </body>
  36. </html>