JSDM

HTML

15
 
1
div.example.e-1
2
  p 233333333
3
div.example.e-2
4
  p 6666666666
5
div.example.e-3
6
  p hhhh hhh hh hh
7
div.example.e-4
8
  p hshshshshs hshsh shsh shshshsh shshshs hhshshs
9
div.example.e-5
10
  div.holder
11
  p prprprprprpr prprprprprprpr prprprprprprprprprprprprp prprprprprprprprpr
12
div.example.e-6
13
  p 不知道写点什么了
14
div.example.e-7
15
  p 最后一种了最后一种了
!

CSS

xxxxxxxxxx
63
 
1
p
2
  margin 0
3
  text-align center
4
.example
5
  height 100px
6
  border 1px dotted silver
7
.e-1
8
  position relative
9
  p
10
    position absolute
11
    top 50%
12
    left 50%
13
    transform translate(-50%,-50%)
14
.e-2
15
  p
16
    line-height 100px
17
    text-align center
18
.e-3
19
  position relative
20
  p
21
    border 1px dotted silver
22
    height 50px
23
    width 100px
24
    top 0
25
    left 0
26
    bottom 0
27
    right 0
28
    margin auto
29
    position absolute
30
.e-4
31
  font-size 0
32
  &::before
33
    height 100%
34
    width 0
35
    overflow hidden
36
    content ''
37
  p,&::before
38
    display inline-block
39
    vertical-align middle
40
  p
41
    width 100%
42
    font-size medium
43
.e-5
44
  font-size 0
45
  .holder
46
    height 100%
47
    width 0
48
    overflow hidden
49
  p,.holder
50
    display inline-block
51
    vertical-align middle
52
  p
53
    width 100%
54
    font-size medium
55
.e-6
56
  text-align center
57
  display table-cell
58
  vertical-align middle
59
  width 100%
60
.e-7
61
  display flex
62
  justify-content center
63
  align-items center
!
? ?
? ?
必须是有效的URL
+ 添加另一个资源

JS

1
 
1
!
必须是有效的URL
+ 添加另一个资源
Close

文件管理 点击文件查看URL

图片

  1. 暂无文件

CSS

  1. 暂无文件

JavaScript

  1. 暂无文件

其他

  1. 暂无文件
拖动文件到上面的区域或者:
加载中 ..................