Wireframing: A Beginner’s Guide to Developing Better WordPress Themes and Plugins

If you’ve never heard of ‘wireframing’ before, now is the time to learn everything you can about it. This technique for developing the structure and format of your solutions should be a vital piece of your overall development strategy. That’s because it’s a path to creating fuller-featured and more stable WordPress plugins and themes. For …
The post Wireframing: A Beginner’s Guide to Developing Better WordPress Themes and Plugins appeared first on Torque.
Read more

Creating sliding effects using sticky positioning

Sticky elements are predominantly used for keeping something shown on the screen throughout scrolling. As cool as that is, we can also hide elements in the same way!

Here’s a typical (um) sticky situation:

See the Pen position:sticky (CSS) by Preethi Sam (@rpsthecoder) on CodePen.

Sticky elements (position: sticky;) are very similar to fixed elements ( position: fixed;) in that they both maintain their position on the screen, even as the user scrolls up …

The post Creating sliding effects using sticky positioning appeared first on CSS-Tricks.

Read more

Interactive Introduction to CSS Houdini

This is a great explanatory microsite by Sam Richard.

CSS Houdini will let authors tap in to the actual CSS engine, finally allowing us to extend CSS, and do so at CSS speeds. Much like Service Workers are a low-level JavaScript API for the browser’s cache, Houdini introduces low-level JavaScript APIs for the browser’s render engines.

What’s important to know is that Houdini is broken up into these different parts, each of which will be implemented separately. We have an …

The post Interactive Introduction to CSS Houdini appeared first on CSS-Tricks.

Read more

7 Tips for Better Contact Form Design (With Examples)

Better contact form design starts with usability. The goal of a form is obvious: you need information from the user. The form has to be intuitive enough so users know exactly what to do and don’t get sidetracked in the process of completing that action. The best contact forms are easy to look at and […]
Read more

“Killing the URL”

It was Safari who first started hiding the complete URL. Here’s what CSS-Tricks looks like even when you’re on an article page by default in Safari:

The full URL path is hidden.

You can only fix it (YES, FIX IT) by checking “Show full website address” in settings.

Preferences Advanced

We’ve already damaged the sanctity of URLs in a way with URL shorteners. Thankfully, those are used less and less with social networks, like Twitter, not counting the URL toward …

The post “Killing the URL” appeared first on CSS-Tricks.

Read more

Shadow DOM in Ionic

Mike Hartington glows about how good and useful the Shadow DOM is:

[Shadow DOM is] actually built on two simple ideas, isolation and location. Need to create a bit of DOM that is isolated from the global scope? Shadow DOM is here to help. Need to specify the exact location of a piece of DOM? Shadow DOMs scope API is what you need!

It can be helpful to think of components that use Shadow DOM as modules for HTML. Markup …

The post Shadow DOM in Ionic appeared first on CSS-Tricks.

Read more

The State of JavaScript 2018 Survey is Now Open

The annual State of JavaScript 2018 Survey is in its third year running and is now open for participants. Sacha Greif, an Osaka-based web designer and developer, said he created the survey to get more data about recent trends after hearing all the online discussion about “JavaScript fatigue.” Last year’s (more…)
Read more

Working With Events in React

Most of the behavior in an application revolves around events. User enters a value in the registration form? Event. User hits the submit button? Another event. Events are triggered a number of ways and we build applications to listen for them in order to do something else in response.

You may already be super comfortable working with events based on your existing JavaScript experience. However, React has a distinct way of handling them. Rather than directly targeting DOM events, React …

The post Working With Events in React appeared first on CSS-Tricks.

Read more