File tree 1 file changed +28
-0
lines changed
1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,34 @@ module.exports = {
44
44
</div >
45
45
```
46
46
47
+ Named containers look like this:
48
+
49
+ ``` css
50
+ /* `container/sidebar` results in: */
51
+ .container\/ sidebar {
52
+ container-type : inline ;
53
+ container-name : sidebar;
54
+ }
55
+
56
+ /* `container-inline/sidebar` results in: */
57
+ .container-inline\/ sidebar {
58
+ container-type : inline ;
59
+ container-name : sidebar;
60
+ }
61
+
62
+ /* `container-block/sidebar` results in: */
63
+ .container-block\/ sidebar {
64
+ container-type : block ;
65
+ container-name : sidebar;
66
+ }
67
+
68
+ /* `container-[size]/sidebar` results in: */
69
+ .container-\[ size\]\/ sidebar {
70
+ container-type : size;
71
+ container-name : sidebar;
72
+ }
73
+ ```
74
+
47
75
## Configuration
48
76
49
77
You can configure which values are available for this plugin under the ` containers ` key in your ` tailwind.config.js ` file:
You can’t perform that action at this time.
0 commit comments