Examples of code I've written in PHP, Javascript, SCSS, etc.
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

hace 2 años
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. @use "sass:map";
  2. @use "sass:color";
  3. @use "vars/vars";
  4. @use "partials/effects";
  5. .web.hero {
  6. height: max(50vh, 20em);
  7. width: 100%;
  8. background-image: url('image/pexels-charles-parker-5845527(v2).jpg');
  9. background-size: cover;
  10. background-attachment: fixed;
  11. background-position: center;
  12. }
  13. .web .filter {
  14. position: relative;
  15. height: 100%;
  16. width: 100%;
  17. background-color: rgba(0, 0, 0, 0.3);
  18. }
  19. .web .heading {
  20. color: white;
  21. position: relative;
  22. top: 20%;
  23. left: 20%;
  24. margin: 0 auto 0 auto;
  25. max-width: min(25rem, 100%);
  26. }
  27. .web .heading p {
  28. color: white;
  29. }
  30. .web .frameworks {
  31. display: flex;
  32. flex-flow: row wrap;
  33. }
  34. .frameworks .card {
  35. flex: 2 200px;
  36. margin: 0 10px;
  37. text-align: center;
  38. }
  39. .frameworks img {
  40. margin: 0 auto;
  41. display: block;
  42. height: 50px;
  43. }
  44. .frameworks h2 {
  45. width: 100%;
  46. text-align: center;
  47. }
  48. .web .content {
  49. display: flex;
  50. flex-flow: row wrap;
  51. }
  52. .web .points {
  53. flex: 1;
  54. }
  55. .web .info {
  56. flex: 1;
  57. }
  58. .points img {
  59. height: 30px;
  60. transform: translateY(10px);
  61. margin-right: 5px;
  62. }
  63. .points p {
  64. display: inline-block;
  65. }
  66. .content .info {
  67. margin-left: 10px;
  68. }
  69. .process {
  70. padding-bottom: 4em;
  71. }
  72. .process h2 {
  73. text-align: center;
  74. }
  75. .process ol {
  76. font-size: 1.3rem;
  77. max-width: 20em;
  78. margin: 0 auto;
  79. }
  80. .process li {
  81. margin: 1em 0;
  82. color: map.get(vars.$theme-colors, 'p');
  83. }
  84. .process li b {
  85. color: black;
  86. }
  87. .process .end {
  88. display: inline-block;
  89. position: relative;
  90. margin: 3em auto 0 auto;
  91. width: 10em;
  92. }
  93. .process .btn-grey {
  94. display: block;
  95. margin: 4em auto 0 auto;
  96. max-width: 5em;
  97. text-align: center;
  98. }
  99. #utilities a {
  100. text-decoration: none;
  101. color: vars.getColor('link-grey')
  102. }
  103. #utilities h4 {
  104. margin-left: 2em;
  105. text-decoration: none;
  106. color: vars.getColor('link-grey')
  107. }
  108. #utilities h4::before {
  109. content: "\00BB",
  110. }
  111. #utilities h4:hover {
  112. color: black;
  113. }
  114. @media (max-width: 720px) {
  115. .web .heading {
  116. max-width: 100%;
  117. left: 0;
  118. margin-left: 5px;
  119. margin-right: 5px;
  120. }
  121. }
  122. .web .content h4 {
  123. display: inline-block;
  124. }