"Say you have a @keyframe animation that animates an element all the way across the screen. From off the left edge to off the right edge. You apply it to multiple elements. But you don’t want all the elements to start at the same exact position.
You can change the animation-delay so that they start at different times, but they will still all start at the same place.
Fortunately, there is a way.
The trick is to use negative animation-delay. That will begin an animation right away, but as if part of the animation has run already."
"Since first hearing of spaced repetition a few years back, I’ve used it for a wide range of things, from learning people’s names to memorizing poetry to increasing my retention of books.
Today, I’ll share best practices that I’ve discovered from using spaced repetition to learn and master a programming language.
Some great articles on this topic are already out there, including ‘Memorizing a Programming Language Using Spaced Repetition Software’ by Derek Sivers and ‘Janki Method’ by Jack Kinsella. But because you’re busy, I’ll quickly summarize some of the best practices that I’ve learned along the way."
"We are going to start Vivliostyle open source project, that will include:
- Vivliostyle Formatter — Print formatter, capable to generate high quality PDFs, with CSS paged media support
- Vivliostyle Browser — Web&epub browser with multiple viewing modes including paged view and print support; made as browser extensions or HTML5-based applications
"If you live in Europe, you’ve probably heard about the cookie law. The exact law changes from country to country and some of the guidelines are a little unclear about ways it should be implemented.
This article is not to discuss or advise on the law, but to show you the method behind creating a simple cookie law popup plugin.
The code for this simple plugin could go in your theme’s functions.php file, but I think it’s better left as a plugin as it’s not the sort of functionality that you want to lose between changing themes."
"In the first post in this series, I covered what custom fields are and why they are important. I also gave an overview of the various ways to add them to WordPress posts.
Today, I will cover the Custom Fields UI.
What Is the Custom Fields UI?
The custom field user interface is a way to add custom fields, or content to custom fields to a WordPress post from the post editor.
By default the custom field user interface is not visible in the post editor. You can show it by clicking on the ‘Screen Options’ tab in the top right corner of the screen and clicking the box next to ‘custom fields’."
"In the first two parts of this series, we completed, a full-featured plugin that shows us server status as dashboard widget. As such, it’s available to every logged in user. Some of information can be sensitive, and we don’t want them to see it so it’s better to check for the user role to determine if we should make the widget available to them.
Using Roles or Capabilities to Limit Visibility
WordPress uses a concept of Roles, designed to give the site owner the ability to control what users can and cannot do within the site. Each role is allowed to perform a set of tasks called Capabilities. We can customize the role and its capabilities with add_roles and add_cap functions."
"WordPress’ native customizer has evolved considerably since its early days when it when it was introduced for adding live previews to themes. WordPress 3.9 added widgets to the customizer and the 4.0 release is set to expand the role of the feature into other aspects of WordPress with support for a wider array of controls.
Developers are eager to find new ways to harness the power of the customizer without getting caught up in writing a ton of code. Devin Price, co-owner of DevPress, is working on a new project to create a Customizer Library. The library is designed to abstract out some of the complexity of working with the customizer so that developers can easily add options by defining a simple array."
All hands on deck for 4.0 Beta 4 and RC 1
"We’ve been pushing really hard to get to a place where a final beta and then RC phase are appropriate for the 4.0 development cycle.
This impacts a few things:
The release date (currently scheduled for August 27, in just two short weeks).
Finalizing help and about page text, and thus string freeze (and, therefore, translators).
With the help of everybody who’s contributed to this release thus far, we’ve done a really great job with the features we’ve been working on and the overall ticket queue for this milestone. All of that said, we need your help to get the following done:
Needed to reach the final beta…"
"If you’re a Google chrome user, there are many free extensions out there that are useful for getting other applications to work with WordPress. Earlier this year we shared a collection of Chrome extensions for WordPress users, many of which are specifically tailored toward content creation.
Send to WordPress is a handy new extension that recently landed in the Chrome web store. It allows you to export a Google Drive document to WordPress as a post, with all the formatting and images preserved."
"Have you ever found yourself wanting to spice up the navigation menus on your site by adding icons? Typically, you’d have to edit the CSS of a theme but thanks to a new plugin, you don’t have to. Menu Icons is a plugin for WordPress that makes it easy to add icons to menus without having to touch any code.
Built With Simplicity In Mind
Dzikri Aziz handles most of the development work and is responsible for the initial idea of the plugin. Aziz helped create the plugin because most of the other solutions involve editing CSS classes or other complicated measures. ‘Most of the existing plugins force you to assign the icons blindly, and make you enter some classes and/or markup into the menu items. This didn’t seem very user-friendly to me. Also, I wanted to get better at developing with the media library,’ Aziz told the Tavern."