A demonstration of how grid items sit in their own row and do not require clearing. More: http://gridbyexample.com/examples/#example12
A Pen by rachelandrew on CodePen.
| <div class="siema"> | |
| <div><img src="https://pawelgrzybek.com/siema/assets/siema--pink.svg" alt="Siema image" /></div> | |
| <div><img src="https://pawelgrzybek.com/siema/assets/siema--yellow.svg" alt="Siema image" /></div> | |
| <div><img src="https://pawelgrzybek.com/siema/assets/siema--pink.svg" alt="Siema image" /></div> | |
| <div><img src="https://pawelgrzybek.com/siema/assets/siema--yellow.svg" alt="Siema image" /></div> | |
| <div><img src="https://pawelgrzybek.com/siema/assets/siema--pink.svg" alt="Siema image" /></div> | |
| <div><img src="https://pawelgrzybek.com/siema/assets/siema--yellow.svg" alt="Siema image" /></div> | |
| <div><img src="https://pawelgrzybek.com/siema/assets/siema--pink.svg" alt="Siema image" /></div> | |
| <div><img src="https://pawelgrzybek.com/siema/assets/siema--yellow.svg" alt="Siema image" /></div> | |
| </div> |
| <div id="instafeed-gallery-feed" class="gallery row no-gutter"> | |
| <!-- instagram feed will load here - markup below was used to structure images before loading them through instafeed --> | |
| <!-- <div class="col-xs-12 col-sm-4"> | |
| <a href="{{image}}" data-caption="{{model.user.username}}, {{likes}} likes"> | |
| <div class="img-featured-container"> | |
| <div class="img-backdrop"></div> | |
| <div class="description-container"> | |
| <p>{{caption}}</p> |
| <div class="siema"> | |
| <div><img src="https://pawelgrzybek.com/siema/assets/siema--pink.svg" alt="Siema image" /></div> | |
| <div><img src="https://pawelgrzybek.com/siema/assets/siema--yellow.svg" alt="Siema image" /></div> | |
| <div><img src="https://pawelgrzybek.com/siema/assets/siema--pink.svg" alt="Siema image" /></div> | |
| <div><img src="https://pawelgrzybek.com/siema/assets/siema--yellow.svg" alt="Siema image" /></div> | |
| </div> |
| <html> | |
| <body> | |
| <div class="nav-trigger"> | |
| <span class="line-one"></span> | |
| <span class="line-two"></span> | |
| <span class="line-three"></span> | |
| </div> | |
| <p>Yet Another Menu Animation</p> | |
| </body> |
| <div class="siema"> | |
| <img src="https://pawelgrzybek.com/siema/assets/siema--pink.svg" alt="Siema image" /> | |
| <img src="https://pawelgrzybek.com/siema/assets/siema--yellow.svg" alt="Siema image" /> | |
| <img src="https://pawelgrzybek.com/siema/assets/siema--pink.svg" alt="Siema image" /> | |
| <img src="https://pawelgrzybek.com/siema/assets/siema--yellow.svg" alt="Siema image" /> | |
| </div> |
A demonstration of how grid items sit in their own row and do not require clearing. More: http://gridbyexample.com/examples/#example12
A Pen by rachelandrew on CodePen.
A golden ration layout using CSS Grids, variables, vw units, calc, flexbox, hyphenation and Sass.
A Pen by Dudley Storey on CodePen.
| var pdf = require('gulp-html-pdf'); | |
| var replace = require('gulp-replace'); | |
| var inlineimg = require('gulp-inline-image-html'); | |
| var cssfont64 = require('gulp-cssfont64'); | |
| gulp.task('pdf',['font64'], function () { | |
| return gulp.src('HTML/Pages/*.html') | |
| .pipe(replace(/<link\b.+href="(?!http)([^"]*)".*>/g, function(s, filename) { | |
| var filepath = path.relative(__dirname , path.resolve(__dirname + '/HTML/css', filename)) | |
| var style = fs.readFileSync(filepath, 'utf8'); |
| /** | |
| * Created by matt on 3/8/17. | |
| */ | |
| import React, { PropTypes } from 'react'; | |
| import './button.scss'; | |
| function ripple (e) { | |
| const midX = e.offsetX; | |
| const midY = e.offsetY; | |
| const { width, height } = e.target.getBoundingClientRect(); |