Summary Files Commits Branches @commit @diff @stats
path: root / docs / src / utilities / cursors.pug
blob: 4d8889b4e34ece0abf2f8111b079e2c0d31616c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
extends ../_layout/_docs-layout.pug

block variables
  - var slug = 'cursors'
  - var parent = 'utilities'
  - var title = 'Cursor utilities - Utilities - Spectre.css CSS Framework'
  - var description = 'Cursor utilities specify which mouse cursor to display when mouseover. Spectre.css CSS Framework is a lightweight, responsive and modern CSS framework for faster and extensible development.'

block docs-content
  +docs-heading('cursors', 'Cursor utilities')
    include ../_layout/_ad-g.pug

    p Cursor utilities specify which mouse cursor to display when mouseover.

    .docs-demo.columns
      .column.col-4
        .bg-gray.docs-block.c-hand c-hand
      .column.col-4
        .bg-gray.docs-block.c-move c-move
      .column.col-4
        .bg-gray.docs-block.c-zoom-in c-zoom-in
      .column.col-4
        .bg-gray.docs-block.c-zoom-out c-zoom-out
      .column.col-4
        .bg-gray.docs-block.c-not-allowed c-not-allowed
      .column.col-4
        .bg-gray.docs-block.c-auto c-auto

    pre.code(data-lang='HTML')
      code
        :highlight(lang="html")
          <!-- cursor: hand; -->
          <div class="c-hand"></div>
          <!-- cursor: move; -->
          <div class="c-move"></div>
          <!-- cursor: zoom-in; -->
          <div class="c-zoom-in"></div>
          <!-- cursor: zoom-out; -->
          <div class="c-zoom-out"></div>
          <!-- cursor: not-allowed; -->
          <div class="c-not-allowed"></div>
          <!-- cursor: auto; -->
          <div class="c-auto"></div>

    include ../_layout/_ad-c.pug

  include ../_layout/_footer.pug