]> git.ardis.lu - ardislu.dev/commitdiff
Use logical margin-block-end
authorArdis Lu <ardisglu@gmail.com>
Mon, 29 Mar 2021 03:16:13 +0000 (20:16 -0700)
committerArdis Lu <ardisglu@gmail.com>
Mon, 29 Mar 2021 03:16:13 +0000 (20:16 -0700)
This attribute works in different writing modes, unlike margin-bottom

style.css

index 8b5301004be57d6ce362f5c042c14dab782386c2..23d2a77563cd5221de6340428ba5cd28df210d51 100644 (file)
--- a/style.css
+++ b/style.css
@@ -44,7 +44,7 @@ a:hover, a:focus {
 }
 
 .card {
-  margin-bottom: 1rem;
+  margin-block-end: 1rem;
   padding: 0 1rem;
   width: 100%;
   border: solid hsl(0deg 0% 0% / 10%);
This page took 0.033072 seconds and 4 git commands to generate.