Last active
September 5, 2017 13:19
-
-
Save helinsv/daaeb433d06e93c42134c520fd3b487c to your computer and use it in GitHub Desktop.
flex
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .items-t{ | |
| margin: 0 -1rem; | |
| display: flex; | |
| flex-wrap: wrap; | |
| justify-content: center; | |
| align-items: stretch; | |
| } | |
| .talents-item{ | |
| text-align: center; | |
| background-color: #fff; | |
| border-radius: 0.5rem; | |
| padding: 10px; | |
| margin: 1rem; | |
| flex-basis: calc(100%/4 - 2rem); | |
| display: flex; | |
| flex-direction: column; | |
| justify-content: space-between; | |
| align-items: center; | |
| } | |
| /* | |
| display: flex; | |
| flex-direction: column; | |
| - напрям | |
| flex-wrap: wrap; | |
| - перенос на новий рядок | |
| justify-content: center; | |
| - по вертикалі вирівн | |
| align-items: stretch; | |
| - по замовчуванню на всю висоту | |
| flex-basis: 300px; | |
| - розмір який охороняється | |
| flex-grow: 0; | |
| - все пусте місце додається до цього ел | |
| align-self:flex-end; | |
| - вирівнює окремі елементи | |
| order:-1; | |
| - сортування | |
| } | |
| */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment