Guest User

Untitled

a guest
May 21st, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. <div id="flex-container"> // THE CONTAINER //
  2. <ul id="button-container">
  3. <li>
  4. <a id="html-modal-button">
  5. <img class="htmllogo" src="https://upload.wikimedia.org/wikipedia/commons/thumb/3/38/HTML5_Badge.svg/600px-HTML5_Badge.svg.png">
  6. <div class="html-text-block">
  7. <h2>HTML</h2>
  8. <p>My web projects</p>
  9. </div>
  10. </a>
  11. </li>
  12. <li>
  13. <a id="cs-modal-button">
  14. <img class="csharplogo" src="https://camo.githubusercontent.com/0617f4657fef12e8d16db45b8d73def73144b09f/68747470733a2f2f646576656c6f7065722e6665646f726170726f6a6563742e6f72672f7374617469632f6c6f676f2f6373686172702e706e67">
  15. <div class="cs-text-block">
  16. <h2>C#</h2>
  17. <p>My windows projects</p>
  18. </div>
  19. </a>
  20. </li>
  21. </ul>
  22. </div>
  23.  
  24. #flex-container {
  25. display: flex;
  26. justify-content: center;
  27. align-items: center;
  28. }
  29.  
  30. margin-top: 35vh;
  31. margin-left: 50vw;
  32. transform: translate(-50%, -50%);
Add Comment
Please, Sign In to add comment