Sha256: ab05fe618e66c613b1a5afe0b182a5161283411cce01d484eeaca73c19a8ba69

Contents?: true

Size: 920 Bytes

Versions: 1

Compression:

Stored size: 920 Bytes

Contents

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Martian Mono">
  <style>

      body {
          margin: 0;
          font-family: "Martian Mono", sans-serif;
      }
      .image {
          background-size: cover;
          position: absolute;
          float: left;
          top: 0px;
          width: 1200px;
          height: 630px;
          object-fit: y-repeat;
      }
      .description{
          position: absolute;
          font-size: 48px;
          z-index: 1;
      }

  </style>
</head>
<body>
<div class="root">
  <img class='image' src="https://images.unsplash.com/photo-1593642702821-c8da6771f0c6?ixid=MXwxMjA3fDF8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=1489&q=80" alt="img">
  <p class="description">
    <%=object.title%>
  </p>
</div>
</body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
html_to-1.0.1 lib/views/html_to/white.html.erb