Guest User

Untitled

a guest
Feb 16th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. <html>
  2. <head>
  3. <style>
  4. body {
  5. background: black;
  6. }
  7. .container {
  8. width: 150px;
  9. height: 150px;
  10. background: blue;
  11. display: inline-block;
  12. border-radius: 50%;
  13. text-align: center;
  14. position: absolute;
  15. top: 50%;
  16. left: 50%;
  17. transform: translate(-50%, -50%);
  18. }
  19.  
  20. .container::before {
  21. content: '';
  22. width: 85px;
  23. height: 85px;
  24. position: absolute;
  25. top: 50%;
  26. left: 50%;
  27. transform: translate(-50%, -50%);
  28. /*background: red;*/
  29. border: 4px solid blue;
  30. border-radius: 50%;
  31. z-index: 1;
  32. }
  33. .container::after {
  34. content: '';
  35. width: 120px;
  36. height: 120px;
  37. position: absolute;
  38. top: 40%;
  39. left: 50%;
  40. transform: translate(-50%, -50%);
  41. background: rgb(255,255,255);
  42. background: linear-gradient(185deg, rgba(255,255,255,0.8799894957983193) 0%, rgba(255,255,255,0.21052170868347342) 48%, rgba(255,255,255,0) 100%);
  43. border-radius: 50%;
  44. }
  45.  
  46. .container .numero {
  47. width: 110px;
  48. height: 110px;
  49. border-radius: 50%;
  50. position: absolute;
  51. line-height: 100px;
  52. top: 50%;
  53. left: 50%;
  54. transform: translate(-50%, -50%);
  55. background: white;
  56. font-size: 3em;
  57. font-weight: bold;
  58. font-family: sans-serif;
  59. }
  60. </style>
  61. </head>
  62. <body>
  63. <span class="container">
  64. <span class="numero">1</span>
  65. </span>
  66. </body>
  67. </html>
Add Comment
Please, Sign In to add comment