CSS * { box-sizing: border-box; } body { margin: 0; font-family: "Hiragino Kaku Gothic ProN", sans-serif; } a { text-decoration: none; } .clear { clear: left; } #header-left p .fas fa-bars { color: white; font-size: 3.0em; margin-top: 26px; } /* ここです!! よくわからない。 ・フォントが大きくならない、 ・padding-top入らない。 */ HTML↓ <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>My Portfolio</title> <link rel="stylesheet" href="stylesheet.css"> <link rel="stylesheet" href="responsive.css"> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> <!-- fontawesome --> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous"> <!-- fontawesome これいらない? 自分で追加した --> </head> <body> <header> <div class="container"> <div class="header-left"> <p><i class="fas fa-bars"></i></p> </div>
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/09/06 04:16
2018/09/06 04:23
2018/09/06 04:29
2018/09/06 04:43 編集
2018/09/07 06:12
2018/09/07 06:19 編集
2018/09/07 06:22
2018/09/07 06:29
2018/09/07 06:44
2018/09/07 07:13
2018/09/07 07:24
2018/09/07 09:13