-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path12.lists.css
More file actions
95 lines (79 loc) · 1.59 KB
/
12.lists.css
File metadata and controls
95 lines (79 loc) · 1.59 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
/* Lists */
body {
background-color: beige;
padding: 1rem;
}
ul.a {
list-style-type: circle;
}
ul.b {
list-style-type: lower-alpha;
}
ol.c {
list-style-type: upper-roman;
}
ol.d {
list-style-type: upper-alpha;
}
ul.e {
list-style: none; /* Eliminar el marcador de lista estándar */
padding-left: 20px; /* Añadir espacio para la imagen */
}
ul.e li {
display: flex; /* Usar flexbox en los elementos <li> */
align-items: center; /* Alinear verticalmente los elementos */
margin-bottom: 10px;
}
ul.e li::before {
content: ""; /* Crear un seudoelemento para la imagen */
width: 25px; /* Ancho de la imagen */
height: 22px; /* Alto de la imagen */
padding: 1px;
background-image: url('pepe-icon.png'); /* URL de la imagen */
background-size: cover; /* Ajustar tamaño de la imagen */
margin-right: 8px; /* Espacio entre la imagen y el contenido */
}
/* Posición de bullet points */
ul.f, ul.g {
border: 1px solid brown;
}
ul.f li, ul.g li {
border: 1px dashed rgb(183, 142, 88);
margin: 5px 0;
}
ul.f {
list-style-position: outside;
padding-left: 20px;
}
ul.g {
list-style-position: inside;
padding-left: 20px;
}
ul.h {
list-style-type: none;
margin: 0;
padding: 0;
}
ul.i {
/* atajo */
list-style: square inside url("pepe-icon.png");
}
.color-2 {
background: #ff9999;
padding: 20px;
}
.color {
background: #3399ff;
padding: 20px;
}
.color-2 li {
background: #ffe5e5;
color: darkred;
padding: 5px;
margin-left: 35px;
}
.color li {
background: #cce5ff;
color: darkblue;
margin: 5px;
}