as Rachel Andrews put it: Flexbox is essentially for laying out items in a single dimension – in a row OR a column. Grid is for layout of items in two dimensions – rows AND columns. Huskeregel: justify eller align? Måske virker denne regel åndssvag først, men jo mere jeg bruger […]
css
CSS Preprocessors Boilerplates is one way towards achieving a responsive and elegant design, but this path will always include one essential flaw: it comes at the expense of your freedom. If what you really want is particular and unique control over your own designs, you will often find that boilerplates […]
In short, a CSS boilerplate is a css template – a file with premade css you can download and use. Typically assisted by a style guide or reference, that gives you a set of rules (classes, structures) – and when you follow these, you’ll quickly be able to produce well-formed, […]
This is my attempt to present the most important elements of the standard CSS functions. For an extensive overview, refer to the W3C spec. Animate Transform 2D Translate The translate() method moves an element from its current position (according to the parameters given for axis). To move an element 50 […]
CSS – eller stylesheets – er den metode man bruger til at designe HTML. Man kan sige at HTML er indhold, og CSS er form. Følg vejledningen her og kom i gang. Hvis du har fulgt lektion 1, eller arbejdet med grundlæggende HTML i øvrigt, har du også opdaget, at […]