File: with_hover.erb

package info (click to toggle)
ruby-capybara 2.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 948 kB
  • ctags: 516
  • sloc: ruby: 7,998; makefile: 4
file content (17 lines) | stat: -rw-r--r-- 499 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<html xmlns="http://www.w3.org/1999/xhtml" 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>
    <div class="wrapper">
      Some text here so the wrapper has size
      <div class="hidden_until_hover">Here I am</div>
    </div>
  </body>
</html>