DEV NOTE TIPS

Workaround for an error that occurs when specifying only one animation property in Web Animation API’s Polyfill

If specifying only one animation property in the Web Animation API Polyfill results in an error, you can resolve this by specifying two properties.
DEV NOTE TIPS

What to do when pointer-events: none; does not work in anchor tags

If pointer-events: none; does not work in the anchor tag, specifying display: block; or display: inline-block; may solve the problem.
DEV NOTE TIPS

Importing CSS with Sass

When importing CSS in Sass, if the file name includes the extension, it is imported as a URL; if the extension is omitted, it is imported inline.
DEV NOTE TIPS

File mount for building Nginx and PHP-FPM with Docker

When building Nginx and PHP-FPM environments with Docker, the necessary files must be mounted on both Nginx and PHP-FPM containers.
DEV NOTE TIPS

How to configure Git not to auto-format line breaks and space differences

To solve the problem of meaningless newlines and space differences in code in Git, we will show you how to unify the editor's automatic formatting settings.
DEV NOTE TIPS

How to use Git rm to deal with “Argument list too long” error

You may receive an "Argument list too long" error message when trying to do a Git rm. This occurs when the list of arguments exceeds the system limit. The solution is to use a command that searches for files that match the pattern specified in the gitignore file and removes them from the cache with the git rm command.
DEV NOTE TIPS

How to deal with node-sass errors due to Node.js version

If you are using a particular version of Node.js, node-sass may cause errors. This problem can be resolved using the npm rebuild node-sass command. Downgrading the Node version may also be one solution.
DEV NOTE TIPS

SVG compatibility issues with Google’s Native Lazy plugin

Compatibility problems may occur between Google's Native Lazy plugin and SVG plugin in some cases. To solve this problem, you can add class="skip-lazy" to SVG elements.
DEV NOTE TIPS

How to deal with the problem of Bootstrap Modal not showing up (a tag)

If the Bootstrap modal does not appear, it could be a conflict with the smooth scrolling JavaScript, while the problem could also be due to the a tag being treated as an inline element.
DEV NOTE TIPS

Using conf.d in Apache VirtualHosts

If you place configuration files in the Apache conf.d directory, Apache will automatically read them. This is especially useful for VirtualHost configurations.
DEV NOTE TIPS

SEO methods to make your site easier to find on Google

Here are some basic SEO guidelines to make your site easier to find on Google. Proper use of these can improve your site's search engine ranking.
DEV NOTE TIPS

How to deal with Safari display issues on Mac and iOS when using Docker’s Nginx for WebP support

When using Docker's Nginx to handle WebP, there may be a problem with images not displaying in Safari on Mac or iOS. To work around this issue, comment out the WebP section from the Nginx configuration.
DEV NOTE TIPS

What to do when EWWW cannot be optimized

If you are unable to optimize images in EWWW, this may be due to file or directory permission issues. To resolve this issue, change the permissions on the EWWW working directory.
DEV NOTE TIPS

Solution to missing visudo command in Bash

If you cannot find the visudo command in your Linux shell, the sudo package may not be installed. Updating the package and installing sudo will solve the problem.
DEV NOTE TIPS

Capacity Reduction Techniques in WEBP Conversion of PNG in EWWW

Changing EWWW Image Optimizer's PNG to WEBP conversion from lossless to lossy will greatly increase the capacity reduction effect.
DEV NOTE TIPS

Color profile problems and countermeasures during WEBP conversion

If the color profile is not embedded when converting to WEBP format, the image may not display on Mac or iOS. Also, EWWW Image Optimizer must be set to not remove metadata.
DEV NOTE TIPS

Scrollbar rattling problem and solution in Windows

This section describes the scrollbar rattling problem in Windows and its solution.
DEV NOTE TIPS

Management of the Opening Playback Flag

This article describes how to manage the opening replay flag in a website or web application. In particular, we recommend using sessionStorage and localStorage to avoid problems caused by fbcache.
DEV NOTE TIPS

About min-width property of col-md class

This article discusses possible layout collapses that may occur when using Bootstrap's grid system. In particular, we will focus on the min-width property of classes such as col-md and col-md-auto and how to resolve them.
DEV NOTE TIPS

How to resolve errors when restoring environment from Vagrant to Docker

This article describes how to resolve errors and warnings that may occur depending on the version of PHP when restoring from a Vagrant environment to a Docker environment. Specifically, updating WordPress and plugins to the latest version will resolve these issues.
DEV NOTE TIPS

How to hide single pages in WordPress

This article describes how to hide a single WordPress page. This method rewrites the rewrite rules for a particular page type to an empty array, thereby hiding that page (404 error).
DEV NOTE TIPS

How to use custom variables in Swiper.js

Swiper.js is a customizable JavaScript library that allows you to modify the design using CSS variables. This article describes examples of using custom variables in Swiper.js.
DEV NOTE TIPS

How to knock down vertical text by 90 degrees with CSS

This section explains how to use CSS to make text vertical and also rotate it 90 degrees. This is accomplished by combining two CSS properties: writing-mode: vertical-rl; and text-orientation: sideways;. Note, however, that some properties are not supported by all browsers.
DEV NOTE TIPS

How to use the w-100 element to break lines in a Bootstrap grid

Bootstrap's grid system is used to divide content into columns. Sometimes, however, you may want to create new rows. One way to accomplish this is to use the w-100 class. This class sets the width of the element to 100%, resulting in the next column being pushed out into a new row.
DEV NOTE TIPS

Capital letters cannot be used in HTML data attributes.

HTML data attributes are a convenient way to add custom data to an element, but attribute names cannot contain uppercase letters. This is due to HTML specifications; if you use attribute names that contain uppercase letters, the browser may not recognize them correctly. This article explains why and how to resolve this issue.
DEV NOTE TIPS

How to apply rendering delays and scripts in ACF Blocks

Due to delays in rendering ACF Blocks, there can be problems applying JavaScript scripts. To solve this, you need to initialize your scripts using the ACF action hook 'render_block_preview'. This article details how to do this.
DEV NOTE TIPS

Top and bottom margins despite line-height: 1; and countermeasures

Even if CSS line-height: 1; is set, there may be margins above and below some elements. This is the result of including not only the height of the text but also the height of the entire line. One way to remove such margins is to apply negative margins to the: :before and::after pseudo-elements. However, negative margins should be used with caution.
DEV NOTE TIPS

iPhone parallax effect reduction settings and Bootstrap transition

The iPhone's "Reduce parallax effect" setting may affect Bootstrap's transition effect. To resolve this issue, set the relevant section of Bootstrap's SCSS configuration file "_variables.scss" to false. However, to respect the user experience, this setting change should be done carefully.
DEV NOTE TIPS

Checkpoints when BrowserSync does not work

When BrowserSync does not work, first check to see if the source code has been rewritten in an unintended way. In particular, BrowserSync will not function properly if unintended characters are mixed in at the beginning of the HTML.
DEV NOTE TIPS

Checkpoints and countermeasures when COLSPAN does not work

If the colspan attribute does not work on the td element of a table, this section explains the causes and countermeasures. applying CSS display: flex; to the td element may change the behavior of the table cell, so a wrapper element is created inside the table cell to apply display: flex;. flex; inside the table cell.