hello.html.bak 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. <title>Hello Website</title>
  2. <style>
  3. body {
  4. margin: 0;
  5. padding: 0;
  6. font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  7. background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
  8. min-height: 100vh;
  9. display: flex;
  10. flex-direction: column;
  11. align-items: center;
  12. justify-content: center;
  13. color: white;
  14. text-align: center;
  15. }
  16. .container {
  17. max-width: 800px;
  18. padding: 40px;
  19. background-color: rgba(255, 255, 255, 0.1);
  20. backdrop-filter: blur(10px);
  21. border-radius: 20px;
  22. box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  23. border: 1px solid rgba(255, 255, 255, 0.2);
  24. }
  25. h1 {
  26. font-size: 3.5rem;
  27. margin-bottom: 20px;
  28. text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  29. background: linear-gradient(45deg, #ff9a9e, #fad0c4);
  30. -webkit-background-clip: text;
  31. -webkit-text-fill-color: transparent;
  32. background-clip: text;
  33. }
  34. p {
  35. font-size: 1.2rem;
  36. line-height: 1.6;
  37. margin-bottom: 30px;
  38. opacity: 0.9;
  39. }
  40. .features {
  41. display: flex;
  42. flex-wrap: wrap;
  43. justify-content: center;
  44. gap: 20px;
  45. margin: 30px 0;
  46. }
  47. .feature {
  48. background: rgba(255, 255, 255, 0.15);
  49. padding: 20px;
  50. border-radius: 12px;
  51. flex: 1;
  52. min-width: 200px;
  53. max-width: 250px;
  54. transition: transform 0.3s ease, background 0.3s ease;
  55. }
  56. .feature:hover {
  57. transform: translateY(-5px);
  58. background: rgba(255, 255, 255, 0.25);
  59. }
  60. .feature h3 {
  61. margin-top: 0;
  62. color: #ffd166;
  63. }
  64. .cta-button {
  65. display: inline-block;
  66. padding: 15px 40px;
  67. background: linear-gradient(45deg, #ff9a9e, #fad0c4);
  68. color: #333;
  69. text-decoration: none;
  70. border-radius: 50px;
  71. font-weight: bold;
  72. font-size: 1.1rem;
  73. margin-top: 20px;
  74. transition: all 0.3s ease;
  75. box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  76. }
  77. .cta-button:hover {
  78. transform: scale(1.05);
  79. box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  80. }
  81. footer {
  82. margin-top: 40px;
  83. font-size: 0.9rem;
  84. opacity: 0.7;
  85. border-top: 1px solid rgba(255, 255, 255, 0.2);
  86. padding-top: 20px;
  87. width: 100%;
  88. }
  89. </style>
  90. <div class="container">
  91. <h1>Hello World!</h1>
  92. <p>Welcome to our simple yet beautiful website. This is a demonstration of how inline CSS can transform a basic HTML page into an attractive web experience.</p>
  93. <div class="features">
  94. <div class="feature">
  95. <h3>Modern Design</h3>
  96. <p>Clean layout with gradient backgrounds and smooth animations.</p>
  97. </div>
  98. <div class="feature">
  99. <h3>Fully Responsive</h3>
  100. <p>Adapts to different screen sizes for optimal viewing.</p>
  101. </div>
  102. <div class="feature">
  103. <h3>Fast Loading</h3>
  104. <p>All styles are inline for immediate rendering.</p>
  105. </div>
  106. </div>
  107. <p>This page demonstrates the power of CSS to create engaging user interfaces without external dependencies.</p>
  108. <a href="#" class="cta-button">Get Started</a>
  109. <footer>
  110. <p>© 2023 Simple Website Demo | All inline CSS | No external files required</p>
  111. </footer>
  112. </div>