li:first-child{
color: orange;
}
リストの最初のカラー指定
li:last-child{
color: orange;
}
リストの最後
li:nth-child(1){
color: orange;
}
li:nth-child(2){
background: orange;
}
li:nth-child(3){
background: lightblue;
}
リスト指定
li:nth-child(2n){
color: orange;
}
2の倍数
li:not(:first-child){
color: orange;
}
最初のリスト
https://photogentle.com/archives/category/photoshop_practice
<a href=””>ボタン</a>
a{
font-size: 24px;
color: black;
text-decoration: none;
}
/* ホバーした時のスタイル */
a:hover{
color: orange;
text-decoration: underline;
}
ボタンのカラー
.item {
display: flex;
align-items: center;
gap: 24px;
}
.item:nth-child(2n) {
flex-direction: row-reverse;
.itemは普通に横並び
.item:nth-child(2n) {
flex-direction: row-reverse; は二番目は逆順
p.example::first-letter {
color: #ff0000;
}
最初の文字を変える
https://udemy.benesse.co.jp/design/web-design/html-table.html
https://y-com.info/contents/?p=388
テーブル
cssで作る
https://proengineer.internous.co.jp/content/columnfeature/3941
https://it-biz.online/web-design/form/
入力フォーム
https://www.webcreatorbox.com/blog/css-flexbox-cheat-sheet#h2c3ecf2b74
flex横並びなど
コメントを残す