Skip to content

Instantly share code, notes, and snippets.



Last active Apr 6, 2018
What would you like to do?
Useful HTML snippets
&shy; = Soft hyphen. To break text where you want
.classname {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
grid-column-gap: 24px;
grid-row-gap: 24px;
/*Responsiv css-grid som lager antallet kolonner som du har children, sørger for at de brekker selv på små skjermer og aldri er mindre enn f.eks 320px*/
Lorem ipsum dolor sit amet, consectetur adip*isicing elit, sed do eiusmod *tempor incididunt ut labore et dolore magna aliqua.
<!--for optimal linjelengde bør stjernene komme på én linje..-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.