I AM LISTENING TO
|
WHAT I LIKE
  • English
  • German


BLOG FILTER



ADDING WEBFONTS

These are added within a <style> section in the header. This works all nicely in most modern email clients, but Outlook does not load webfonts and falls back to Times New Roman, which might not always be desired.

OVERRIDE FOR MODERN CLIENTS

Add this to the header <style> section as well. This makes sure that in clients, that allow Webfonts,  your font is actually being used.

ARIAL FOR OUTLOOK

In the body of the email template, you assign your font-family styles for the text, but making sure that Arial is listed first.

Outlook will than use Arial for the text styling.

In modern clients this will be overwritten with the “style rule” above, which checks for YourFont and updates the font-family styling accordingly.

Enjoy coding …

readmore

“Time Lapse Assembler allows you to create movies from a sequence of images. Provide it with a folder containing sequentially named JPEG images and it will produce a QuickTime compatible movie file for use in iMovie or other editing software.”

Download

readmore

Responsive social sharing buttons.

Github

readmore

The new WOFF 2.0 webfont format is coming to chrome.

“The new WOFF 2.0 Web Font compression format offers a 30% average gain over WOFF 1.0 (up to 50%+ in some cases).”

CONVERSION OPTIONS

http://www.fontsquirrel.com/tools/webfont-generator
http://everythingfonts.com/ttf-to-woff2

EMBED WITH FALLBACK

BROWSER SUPPORT

  • Google Chrome 36
  • Opera 23
  • Firefox 35 (disabled by default)

Enjoy coding …

readmore

Make sure that the viewbox, width and height are defined within the SVG.

Many older browsers misbehave, if those are defined in the image source tag only and not in the image file itself.

Enjoy coding …

readmore

When doing flexible layouts, there is no way around using relative sizes, so that fonts and elements resize accordingly.

CURRENT RELATIVE UNITS

  • EM
    Relative to the font-size of the element. The information comes from the browser preset.
  • REM (not supported in older browsers, like IE 8)
    Relative to font-size of the root element
  • PERCENT
    Relative to the container

CALCULATION

If not set differently, 1 em equals 16 Pixel in most browsers, which gives us a calculation basis.

Preset value = 16PX = 100% or 1EM or 1 REM

So 1/16 = 0,0625 is our calculation factor.

EM VS REM

The difference between EM and REM is the inheritance.

The REM value is calculated in reference to the root element, the font size of the HTML, not the BODY,  element.

The EM value is calculated in reference to its parent element.

SUPPORT

Due to limited support in older browsers, you can use graceful degradation in your stylesheet to use both.

The Pixel value must be added before the REM value !

Enjoy coding …

readmore

 

readmore

When mapping shortcodes using vc_map, you can assign icons to your new Visual Composer element.

If you created a container element, that wraps around other  elements, the child element icon will currently be overwritten with the parent icon. A fix is apparently on its way :)

Currently the only way is to skip the icon option completely and use pure CSS for that.

You can enqueue a CSSs file for the admin through a vc_map option “admin_enqueue_css“.

The CSS targets the icon of the displayed element in the editor and the icon when adding new elements to the layout.

Enjoy coding …

readmore

For all those that remember the After Dark™ Screensavers.
The animation is build purely in CSS. Author is Bryan Braun.

After Dark in CSS

readmore

Many developers hesitate to call WordPress a PHP development platform. I know what I am talking about, as I developed a platform of my own. PHP platforms normally only provide a skeleton and we need to

  • Decide on a database schema
  • Create the database
  • Setup backends and dashboards
  • Design the presentation layer
  • Implement user-level authentication and similar

THE FRONTEND EXPERIENCE

With WordPress you get most of this out-of-the-box, with some predefined structures.

Having a flexible administration backend in place makes it easy to concentrate on the things that matter for a project, which is designing a frontend experience.

JSON MATTERS

And especially with the JSON REST API finding its way into the core slowly, you are completely free when it comes to using the stored data in your frontend designs.

Sure that was possible before, just with some more work on our side ;)

But WordPress embracing the “freeing of data” through JSON, shows us where the ride is going.

THE NEW SINGLE APP UNIVERSE

There has not been a single project of mine in the past year, that has not used the REST API in some way. And all of this fits perfectly into the new single page app universe.

WordPress interfaces with your javascript framework setup (client side templating, DOM manipulation, data binding, routing …) and frees you from any design handcuffs.

It has become much easier and faster over the past 2 years to say “YES” to many of my clients wishes.

Its nice to finally see data flow from the server to the client and back that easily.

If you are not exited about this … I am :)

…enjoy coding

readmore