­

The dialog element

Chris Manning digs into <diaglog>:

A dialog element provides:

  • An element that is easy to show and hide, including an open boolean attribute on the element itself.
  • Two versions: a standard popover or modal version.
  • A ::backdrop pseudo-element for modal types.
  • Built-in focus: see dialog focusing steps.
  • ARIA role support (dialog is the implied default). Also accepts the alertdialog role.
  • A pending stack for multiple dialogs.
  • A DOM interface with the open boolean and methods show,

The post The dialog element appeared first on CSS-Tricks.

Read more

React Basics For WordPress Developers

In my last post for Torque, I wrote about how WordPress with the new Gutenberg editor uses React. I also gave my opinion on if WordPress developers need to learn React. While you do not need to know React to create Gutenberg blocks, I laid out a few reasons why it might make sense for …
The post React Basics For WordPress Developers appeared first on Torque.
Read more

Choosing the Best Logo Fonts: 10 Tips & Examples

The font a brand selects for their logo can evolve into lettering that people identify with a company or product. Just think about the typefaces for Coca-Cola, Disney or even eBay. Even if you see those typefaces without the brand names, there’s still an immediate connection. That’s the value of choosing the best logo font […]
Read more

Using Event Bus to Share Props Between Vue Components

By default, communication between Vue components happen with the use of props. Props are properties that are passed from a parent component to a child component. For example, here’s a component where title is a prop:

<blog-post title="My journey with Vue"></blog-post>

Props are always passed from the parent component to the child component. As your application increases in complexity, you slowly hit what is called prop drilling here’s a relate article that is React-focused, but totally applies). Prop drilling is …

The post Using Event Bus to Share Props Between Vue Components appeared first on CSS-Tricks.

Read more

What’s a Progressive Web App (And Why Should You Care)?

In 2016, mobile users first surpassed those accessing the web from desktop devices. Since then, mobile hasn’t shown any signs of slowing down. As everyone looks for how to make websites, and web apps, more mobile-friendly, you’ll increasingly start to come across the phrase “Progressive Web App”. Today we’re looking at what this is, how […]
Read more

5 Actionable Ways To Improve Your WordPress Site With Artificial Intelligence (AI)

Running a WordPress site is hard work, so wouldn’t it be great if you could get a little help now and then? No, I’m not talking about hiring a human! I’m talking about harnessing artificial intelligence to improve your WordPress site without lifting one of your human fingers. Artificial intelligence is no longer the exclusive …
The post 5 Actionable Ways To Improve Your WordPress Site With Artificial Intelligence (AI) appeared first on Torque.
Read more

How to Prepare Your WordPress Site for a Vacation (So You Can Relax)

Everyone needs a vacation every now and then, including owners of WordPress websites. However, what happens to your site while you are away? After all, the Internet never closes. If you’re feeling like you can’t take time off for fear of having your site or business collapse, be unafraid. WordPress offers plenty of tools to …
The post How to Prepare Your WordPress Site for a Vacation (So You Can Relax) appeared first on Torque.
Read more