From bc1097aacc1a96b143e179873545fa3ba5356560 Mon Sep 17 00:00:00 2001 From: ulaulaman <34242086+ulaulaman@users.noreply.github.com> Date: Sat, 17 Feb 2018 01:22:05 +0100 Subject: [PATCH] il file css per la griglia del loop --- incl/grid.css | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 incl/grid.css diff --git a/incl/grid.css b/incl/grid.css new file mode 100644 index 0000000..6e621da --- /dev/null +++ b/incl/grid.css @@ -0,0 +1,25 @@ +.grid-wrap { + display: flex; + flex-flow: row wrap; + align-items: center; + justify-content: center; + list-style: none; +} + +.grid-item { + flex-basis: 160px; + height: 250px; + padding: 5px; + margin: 10px; +} + +.grid-item img { + display: block; + margin-left: auto; + margin-right: auto; + max-width: 160px; +} + +.grid-wrap ul { + margin-left: 0; +}