@@ -39,7 +39,7 @@ Use utilities like `bg-center`, `bg-right`, and `bg-top-left` to control the pos
39
39
bg-top-left
40
40
</p >
41
41
<div className = " group relative mx-auto h-20 w-20 rounded-lg" >
42
- <div className = " bg-top-left relative z-10 h-full w-full rounded-md bg-[url(https://images.unsplash.com/photo-1554629947-334ff61d85dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&h=1000&q=90)] bg-[size:8rem] outline -outline-offset-1 outline-black/10" ></div >
42
+ <div className = " relative z-10 h-full w-full rounded-md bg-[url(https://images.unsplash.com/photo-1554629947-334ff61d85dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&h=1000&q=90)] bg-[size:8rem] bg-top-left outline -outline-offset-1 outline-black/10" ></div >
43
43
<img
44
44
className = " absolute top-0 left-0 h-32 w-32 max-w-none overflow-hidden rounded-md opacity-0 sm:group-hover:opacity-25"
45
45
src = " https://images.unsplash.com/photo-1554629947-334ff61d85dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&h=1000&q=90"
@@ -63,7 +63,7 @@ Use utilities like `bg-center`, `bg-right`, and `bg-top-left` to control the pos
63
63
bg-top-right
64
64
</p >
65
65
<div className = " group relative mx-auto h-20 w-20 rounded-lg" >
66
- <div className = " bg-top-right relative z-10 h-full w-full rounded-md bg-[url(https://images.unsplash.com/photo-1554629947-334ff61d85dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&h=1000&q=90)] bg-[size:8rem] outline -outline-offset-1 outline-black/10" ></div >
66
+ <div className = " relative z-10 h-full w-full rounded-md bg-[url(https://images.unsplash.com/photo-1554629947-334ff61d85dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&h=1000&q=90)] bg-[size:8rem] bg-top-right outline -outline-offset-1 outline-black/10" ></div >
67
67
<img
68
68
className = " absolute top-0 right-0 h-32 w-32 max-w-none overflow-hidden rounded-md opacity-0 sm:group-hover:opacity-25"
69
69
src = " https://images.unsplash.com/photo-1554629947-334ff61d85dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&h=1000&q=90"
@@ -111,7 +111,7 @@ Use utilities like `bg-center`, `bg-right`, and `bg-top-left` to control the pos
111
111
bg-bottom-left
112
112
</p >
113
113
<div className = " group relative mx-auto h-20 w-20 rounded-lg" >
114
- <div className = " bg-bottom-left relative z-10 h-full w-full rounded-md bg-[url(https://images.unsplash.com/photo-1554629947-334ff61d85dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&h=1000&q=90)] bg-[size:8rem] outline -outline-offset-1 outline-black/10" ></div >
114
+ <div className = " relative z-10 h-full w-full rounded-md bg-[url(https://images.unsplash.com/photo-1554629947-334ff61d85dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&h=1000&q=90)] bg-[size:8rem] bg-bottom-left outline -outline-offset-1 outline-black/10" ></div >
115
115
<img
116
116
className = " absolute -top-12 left-0 h-32 w-32 max-w-none overflow-hidden rounded-md opacity-0 sm:group-hover:opacity-25"
117
117
src = " https://images.unsplash.com/photo-1554629947-334ff61d85dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&h=1000&q=90"
@@ -135,7 +135,7 @@ Use utilities like `bg-center`, `bg-right`, and `bg-top-left` to control the pos
135
135
bg-bottom-right
136
136
</p >
137
137
<div className = " group relative mx-auto h-20 w-20 rounded-lg" >
138
- <div className = " bg-bottom-right relative z-10 h-full w-full rounded-md bg-[url(https://images.unsplash.com/photo-1554629947-334ff61d85dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&h=1000&q=90)] bg-[size:8rem] outline -outline-offset-1 outline-black/10" ></div >
138
+ <div className = " relative z-10 h-full w-full rounded-md bg-[url(https://images.unsplash.com/photo-1554629947-334ff61d85dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&h=1000&q=90)] bg-[size:8rem] bg-bottom-right outline -outline-offset-1 outline-black/10" ></div >
139
139
<img
140
140
className = " absolute -top-12 right-0 h-32 w-32 max-w-none overflow-hidden rounded-md opacity-0 sm:group-hover:opacity-25"
141
141
src = " https://images.unsplash.com/photo-1554629947-334ff61d85dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&h=1000&q=90"
@@ -149,15 +149,15 @@ Use utilities like `bg-center`, `bg-right`, and `bg-top-left` to control the pos
149
149
150
150
``` html
151
151
<!-- [!code classes:bg-top-left,bg-top-right,bg-bottom-right,bg-bottom-left,bg-center,bg-right,bg-top,bg-bottom,bg-left] -->
152
- <div class =" bg-top-left bg- [url(/img/mountains.jpg)]" ></div >
152
+ <div class =" bg-[url(/img/mountains.jpg)] bg-top-left " ></div >
153
153
<div class =" bg-[url(/img/mountains.jpg)] bg-top" ></div >
154
- <div class =" bg-top-right bg- [url(/img/mountains.jpg)]" ></div >
154
+ <div class =" bg-[url(/img/mountains.jpg)] bg-top-right " ></div >
155
155
<div class =" bg-[url(/img/mountains.jpg)] bg-left" ></div >
156
156
<div class =" bg-[url(/img/mountains.jpg)] bg-center" ></div >
157
157
<div class =" bg-[url(/img/mountains.jpg)] bg-right" ></div >
158
- <div class =" bg-bottom-left bg- [url(/img/mountains.jpg)]" ></div >
158
+ <div class =" bg-[url(/img/mountains.jpg)] bg-bottom-left " ></div >
159
159
<div class =" bg-[url(/img/mountains.jpg)] bg-bottom" ></div >
160
- <div class =" bg-bottom-right bg- [url(/img/mountains.jpg)]" ></div >
160
+ <div class =" bg-[url(/img/mountains.jpg)] bg-bottom-right " ></div >
161
161
```
162
162
163
163
</Figure >
0 commit comments