You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Elements default to a position of static. Tachyons provides utilities for setting position to be relative or absolute. Absolute elements are absolutely positioned inside of a relative element. You can use absolute positioning to stretch elements making sure they fill the width and height of a relative container. Relatively positioned elements offer the ability to offset the position of an element without affecting the position of any elements around it. This module should be used in conjunction with the coordinates module which is used to give working examples on this page.
41
+
Elements default to a position of static. Tachyons provides utilities
42
+
for setting position to be relative or absolute. Absolute elements are
43
+
absolutely positioned inside of a relative element. You can use absolute
44
+
positioning to stretch elements making sure they fill the width and height of a
45
+
relative container. Relatively positioned elements offer the ability to offset
46
+
the position of an element without affecting the position of any elements
47
+
around it. This module should be used in conjunction with the coordinates
48
+
module which is used to give working examples on this page.
42
49
</p>
43
50
<pclass="measure f5 f4-ns lh-copy">
44
-
CSS also provides fixed and sticky options for position but as I
45
-
don't find them useful from a design standpoint I have not included
46
-
them here. If you do find them useful you could easily extend the
47
-
position module to include these options. It should be noted that
48
-
sticky is not well supported at the moment. If the provided coordinates don't suit your needs the module is easy to extend to add any values you might need. I don't provide negative values - but those can be used in both relative and absolutely positioned elements.
51
+
CSS also provides an option for setting position to 'sticky' but it is not included in this module.
52
+
If you do find it useful you could easily extend the
53
+
position module to include this option. It should be noted that
54
+
sticky is not well supported at the moment. If the provided
55
+
coordinates don't suit your needs the module is easy to extend to add any
0 commit comments