Advertisement
Guest User

Untitled

a guest
Nov 21st, 2019
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Four design rules</title>
  6. <link rel="stylesheet" href="style.css">
  7. <link rel="icon" type="image" href="https://code.s3.yandex.net/web-code/rules-favicon.ico">
  8. </head>
  9. <body>
  10. <!-- <header>
  11. <div class="overlay">
  12. <h1>Four design rules</h1>
  13. </div>
  14. </header> -->
  15. <section class="content">
  16. <div class="card">
  17. <img class="card-image" src="https://pictures.s3.yandex.net/frontend-developer/free-course/card-1.jpg">
  18. <h3 class="card-title">Spacing</h3>
  19. <p class="card-text">A simple rule that's broken all the time. You have to arrange groups of similar elements together and then surround them with an empty space. Spacing can be a surprisingly powerful tool.</p>
  20. </div>
  21. <div class="card no-right-margin">
  22. <img class="card-image" src="https://pictures.s3.yandex.net/frontend-developer/free-course/card-2.jpg">
  23. <h3 class="card-title">Grid</h3>
  24. <p class="card-text">Element sizes and the distances between them are arranged in a cohesive structure referred to as a grid. If an element falls outside the grid, that's when you'll know something's wrong.</p>
  25. </div>
  26. <div class="card">
  27. <img class="card-image" src="https://pictures.s3.yandex.net/frontend-developer/free-course/card-3.jpg">
  28. <h3 class="card-title">Fonts</h3>
  29. <p class="card-text">For this rule, there must be no more than three different types of fonts on a single website. One for the header, one for the body of the text, and a third for highlighting the essential words.</p>
  30. </div>
  31. </section>
  32. </body>
  33. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement