Skip to content

Instantly share code, notes, and snippets.

/*formの配置*/
form {
margin: 1rem auto;
max-width: 650px;
}
/*wrapperにスペースを設定*/
.wrapper {
position: relative;
margin-bottom: 1rem;
.wrapper {
position: relative;
}
/*オリジナルのチェックボックスを隠す*/
.wrapper input {
height: 40px;
left: 0;
opacity: 0;
position: absolute;
<div class="wrapper">
<input id="check1" name="accessibility_check" type="checkbox" value="チェックボックス1">
<label for="check1">チェックボックス1</label>
</div>
<div class="wrapper">
<input id="check2" name="accessibility_check" type="checkbox" value="チェックボックス2">
<label for="check2">チェックボックス2</label>
</div>
defaults write com.apple.finder _FXShowPosixPathInTitle -bool TRUE
[shift] + [command] + [.(ドット)]
$ defaults write com.apple.finder AppleShowAllFiles -bool FALSE
$ killall Finder
$ defaults write com.apple.finder AppleShowAllFiles -bool TRUE
<?php
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
function theme_enqueue_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
wp_enqueue_style( 'child-style',
get_stylesheet_directory_uri() . '/style.css',
array('parent-style')
);
}
/*
Theme Name: Theme A Child
Description: themeaの子テーマです。
Author: T.Nagata
Author URI: https://www.itspace.biz
Template: themea
Version: 1.0
*/