MENU
BLOG
Web
HTML
CSS
jQuery
JavaScript
GSAP
WordPress
Original Theme
SWELL
Plugin
Contact Form 7
Design
Illustrator
Photoshop
Figma
Tool
ICON
IMAGE
Convenient Tool
Profile
Web制作のあれこれの情報を発信提供いたします
BLOG
Web
HTML
CSS
jQuery
JavaScript
GSAP
WordPress
Original Theme
SWELL
Plugin
Contact Form 7
Design
Illustrator
Photoshop
Figma
Tool
ICON
IMAGE
Convenient Tool
Profile
Web制作のあれこれの情報を発信提供いたします
ホーム
2024年
6月
2024年6月
– date –
CSS
文字を折り返さないCSS
文字列が勝手に折り返してしまい、レイアウトが崩れることがあるんだけど良い方法...
August 5, 2025
CSS
長い文章を…に省略できる方法
長い文章を…に省略できる方法はないのかな? あるよ!では見てみよう♪ 長い文章を…...
August 5, 2025
1
2
3
閉じる
document.addEventListener('DOMContentLoaded', function() { const copyButtons = document.querySelectorAll('.copy-button'); copyButtons.forEach(button => { button.addEventListener('click', function() { const codeContainer = this.previousElementSibling; const code = codeContainer.textContent; navigator.clipboard.writeText(code).then(() => { this.textContent = 'Copied!'; setTimeout(() => { this.textContent = 'Copy'; }, 2000); }).catch(err => { console.error('Failed to copy text: ', err); }); }); }); });