File: with_hover.erb

package info (click to toggle)
ruby-capybara 3.40.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,368 kB
  • sloc: ruby: 23,988; javascript: 752; makefile: 11
file content (24 lines) | stat: -rw-r--r-- 745 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
    <title>with_hover</title>
  </head>

  <body id="with_hover">
    <style type="text/css">
      .hidden_until_hover {display: none;}
      .wrapper:hover .hidden_until_hover { display: block }
    </style>
    <a href='with_hover1'>Other hover page</a>
    <div class="wrapper">
      Some text here so the wrapper has size
      <div class="hidden_until_hover">Here I am</div>
    </div>
    <div style="display: block; height: 1000px; width: 100%"></div>
    <div class="wrapper scroll_needed" >
      Some text here so the wrapper has size
      <div class="hidden_until_hover">Here I am</div>
    </div>
  </body>
</html>