Category Archives: CSS

Transfonter โ€” online @font-face generator

Online tool. Convert standard desktop ttf fonts into web formats. Eg. @font-face { font-family: ‘Playfair Display’; font-style: normal; font-weight: 300; src: url(‘/Content/fonts/PlayfairDisplay-Regular.eot’); /* IE9 Compat Modes */ src: local(‘Playfair Display-Regular’), url(‘/Content/fonts/PlayfairDisplay-Regular.eot?#iefix’) format(’embedded-opentype’), /* IE6-IE8 */ url(‘/Content/fonts/PlayfairDisplay-Regular.woff2’) format(‘woff2’), /* Super Modern Browsers */ url(‘/Content/fonts/PlayfairDisplay-Regular.woff’) format(‘woff’), /* Modern Browsers */ url(‘/Content/fonts/PlayfairDisplay-Regular.ttf’) format(‘truetype’), /* Safari, Android, iOS */ […]

Share to Facebook with custom parameters

Great tool for creating facebook share URLs. Example below… <a class=”social-share” href=”https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fwww.destinology.co.uk%2Fbritish-travel-awards%2F&picture=https%3A%2F%2Fwww.destinology.co.uk%2FContent%2Fimages%2FAwards%2Fnew%2Fdestinology-fam.jpg&title=Destinology&caption=https%3A%2F%2Fwww.destinology.co.uk%2F&quote=Vote+for+Destinology+in+the+British+Travel+Awards+2017&description=British+Travel+Awards+2017″ target=”_blank”> <div class=”social-icon fb”></div> <div class=”share”>Spread the word with Facebook</div> </a> Source: Share to Facebook with custom parameters