title: floating effect for text
body: <p>I want to apply floating effect to some texts. I tried it using marquee.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.bounce {
    height: 50px;
    overflow: hidden;
    position: relative;
  }
  .bounce p {
    position: absolute;
    width: 50%;
    margin: 0;
    line-height: 50px;
    text-align: center;
    color: #FFF;
    opacity: 0.7;
    -moz-transform: translateX(50%);
    -webkit-transform: translateX(50%);
    transform: translateX(50%);
    -moz-animation: bouncing-text 25s linear infinite alternate;
    -webkit-animation: bouncing-text 25s linear infinite alternate;
    animation: bouncing-text 25s linear infinite alternate;
  }
  @keyframes bouncing-text {
    0% {
      -moz-transform: translateX(50%);
      -webkit-transform: translateX(50%);
      transform: translateX(50%);
    }
    100% {
      -moz-transform: translateX(-50%);
      -webkit-transform: translateX(-50%);
      transform: translateX(-50%);
    }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="bounce"&gt;
    &lt;p&gt;SOFT LANDSCAPING&lt;/p&gt;
    &lt;br /&gt;
    &lt;p&gt;HARD LANDSCAPING&lt;/p&gt;
    &lt;br /&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>This is for bouncing. I want to make the text float like in the water.
  Please help me to find a solution. If any other way please let me know. </p>