Summary Files Commits Branches @commit @diff @stats
path: root / docs / src / utilities / shapes.pug
blob: 74491566c8dd83b490c68dc5313634bcd74ee584 (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
extends ../_layout/_docs-layout.pug

block variables
  - var slug = 'shapes'
  - var parent = 'utilities'
  - var title = 'Shape utilities - Utilities - Spectre.css CSS Framework'
  - var description = 'Spectre.css is a lightweight, responsive and modern CSS framework for faster and extensible development. Spectre provides basic styles for typography and elements, flexbox based responsive layout system, pure CSS components and utilities with best practice coding and consistent design language.'

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

    p Shape utilities are used for changing element shapes.

    .docs-demo.columns
      .column.col-6.text-center
        .bg-primary.text-light.docs-shape.s-rounded.centered
          | s-rounded
      .column.col-6.text-center
        .bg-primary.text-light.docs-shape.s-circle.centered
          | s-circle

    pre.code(data-lang='HTML')
      code
        :highlight(lang="html")
          <!-- rounded element -->
          <div class="s-rounded"></div>
          <!-- circle element -->
          <div class="s-circle"></div>

    include ../_layout/_ad-c.pug

  include ../_layout/_footer.pug