Architect's Log

I'm a Cloud Architect. I'm highly motivated to reduce toils with driving DevOps.

2012-09-14から1日間の記事一覧

CSS 疑似クラスセレクタ(:active)

CSS

入力によってアクティブになった要素にスタイルを適用します。 使用例 <html lang="ja"> <head> <title>Hello! CSS</title> <meta charset="UTF-8"> <style> input:active { background: pink; } </style> </head> <body> <form id="order" action="./order.html" method="post"> <p><label for"sei">姓:</label></p></form></body></html>