[abap] sabeer

Viewer

  1. <!DOCTYPE html>
  2. <html lang="en">
  3.  
  4. <head>
  5.     <meta charset="UTF-8">
  6.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7.     <title>Gradient Background for H1</title>
  8.     <style>
  9.         h1 {
  10.             color: #cecece;
  11.             background: rgb(42, 42, 42);
  12.             background: linear-gradient(277deg, rgba(42, 42, 42, 1) 3%, rgba(92, 92, 92, 1) 32%, rgba(177, 176, 176, 1) 51%, rgba(92, 92, 92, 1) 68%, rgba(42, 42, 42, 1) 100%);
  13.             padding: 20px;
  14.             border-radius: 10px;
  15.             text-align: center;
  16.         }
  17.     </style>
  18. </head>
  19.  
  20. <body>
  21.  
  22.     <h1>This is a heading with gradient background</h1>
  23.  
  24. </body>
  25.  
  26. </html>

Editor

You can edit this paste and save as new:


File Description
  • sabeer
  • Paste Code
  • 22 Feb-2024
  • 690 Bytes
You can Share it: