dioxus_tailwindcss/
modifier.rs1pub fn hover(v: &str) -> String {
5 "hover:".to_owned() + v
6}
7
8pub fn focus(v: &str) -> String {
10 "focus:".to_owned() + v
11}
12
13pub fn focus_within(v: &str) -> String {
15 "focus-within:".to_owned() + v
16}
17
18pub fn focus_visible(v: &str) -> String {
20 "focus-visible:".to_owned() + v
21}
22
23pub fn active(v: &str) -> String {
25 "active:".to_owned() + v
26}
27
28pub fn visited(v: &str) -> String {
30 "visited:".to_owned() + v
31}
32
33pub fn target(v: &str) -> String {
35 "target:".to_owned() + v
36}
37
38pub fn first(v: &str) -> String {
40 "first:".to_owned() + v
41}
42
43pub fn last(v: &str) -> String {
45 "last:".to_owned() + v
46}
47
48pub fn only(v: &str) -> String {
50 "only:".to_owned() + v
51}
52
53pub fn odd(v: &str) -> String {
55 "odd:".to_owned() + v
56}
57
58pub fn even(v: &str) -> String {
60 "even:".to_owned() + v
61}
62
63pub fn first_of_type(v: &str) -> String {
65 "first-of-type:".to_owned() + v
66}
67
68pub fn last_of_type(v: &str) -> String {
70 "last-of-type:".to_owned() + v
71}
72
73pub fn only_of_type(v: &str) -> String {
75 "only-of-type:".to_owned() + v
76}
77
78pub fn empty(v: &str) -> String {
80 "empty:".to_owned() + v
81}
82
83pub fn disabled(v: &str) -> String {
85 "disabled:".to_owned() + v
86}
87
88pub fn enabled(v: &str) -> String {
90 "enabled:".to_owned() + v
91}
92
93pub fn checked(v: &str) -> String {
95 "checked:".to_owned() + v
96}
97
98pub fn indeterminate(v: &str) -> String {
100 "indeterminate:".to_owned() + v
101}
102
103pub fn default(v: &str) -> String {
105 "default:".to_owned() + v
106}
107
108pub fn required(v: &str) -> String {
110 "required:".to_owned() + v
111}
112
113pub fn valid(v: &str) -> String {
115 "valid:".to_owned() + v
116}
117
118pub fn invalid(v: &str) -> String {
120 "invalid:".to_owned() + v
121}
122
123pub fn in_range(v: &str) -> String {
125 "in-range:".to_owned() + v
126}
127
128pub fn out_of_range(v: &str) -> String {
130 "out-of-range:".to_owned() + v
131}
132
133pub fn placeholder_shown(v: &str) -> String {
135 "placeholder-shown:".to_owned() + v
136}
137
138pub fn autofill(v: &str) -> String {
140 "autofill:".to_owned() + v
141}
142
143pub fn read_only(v: &str) -> String {
145 "read-only:".to_owned() + v
146}