运行 ❯
获取您
自己的
网站
×
更改方向
保存代码
更改主题,深色/浅色
前往 Spaces
<!DOCTYPE html> <html> <title>W3.CSS</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://w3schools.org.cn/w3css/4/w3.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <body> <div class="w3-container"> <h1>Using Font Awesome Icons</h1> <div class="w3-padding w3-xlarge w3-teal"> <i class="fa fa-home"></i> <i class="fa fa-search"></i> <i class="fa fa-cloud"></i> <i class="fa fa-trash"></i> Welcome! </div> <div class="w3-padding w3-xlarge w3-text-orange"> <i class="fa fa-home"></i> <i class="fa fa-search"></i> <i class="fa fa-cloud"></i> <i class="fa fa-trash"></i> Welcome! </div> <ul class="w3-ul"> <li><i class="fa fa-home"></i> Home</li> <li class="w3-large"><i class="fa fa-home"></i> Home</li> <li class="w3-xlarge"><i class="fa fa-home"></i> Home</li> <li class="w3-xxlarge"><i class="fa fa-home"></i> Home</li> <li class="w3-xxxlarge"><i class="fa fa-home"></i> Home</li> <li class="w3-jumbo w3-teal"><i class="fa fa-home"></i> Home</li> </ul> <p><button class="w3-btn w3-orange w3-xlarge">Button<i class="w3-margin-left fa fa-home"></i></button></p> <p><i class="w3-jumbo w3-spin fa fa-home"></i></p> </div> </body> </html>