Sabtu, 27 Februari 2016

CSS linkAtas.html

Posted by Unknown on 12.45 with No comments
  Assalammualaikum wr.wb.
hari ini saya akan belajar tentang CSS link Atas.html.
Macam-macam CSS link Atas. html,
  • Smal.
  • Medium.
  • Large.
  • xlarge.
  • xxlarge.
  • xxxlarge.

-contoh script CSS link smal.

<!DOCTYPE html>
<html>
<title>W3.CSS</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://www.w3schools.com/lib/w3.css">
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css">
<body class="w3-container">

<p>w3-small:</p>
<div class="w3-topnav w3-small w3-black">
  <a href="#"><i class="fa fa-home w3-small"></i></a>
  <a href="#">W3Schools</a>
  <a href="#">Link 1</a>
  <a href="#">Link 2</a>
  <a href="#">Link 3</a>
</div>

</body>
</html>

-Hasil tag diatas.





-Contoh script css link medium.

<!DOCTYPE html>
<html>
<title>W3.CSS</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://www.w3schools.com/lib/w3.css">
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css">
<body class="w3-container"></body>

<p>w3-medium:</p>
<div class="w3-topnav w3-orange">
  <a href="#"><i class="fa fa-home w3-large"></i></a>
  <a href="#">W3Schools</a>
  <a href="#">Link 1</a>
  <a href="#">Link 2</a>
  <a href="#">Link 3</a>
</div>


</body>
</html>

-Hasil tag diatas.



-Contoh script link large.

<!DOCTYPE html>
<html>
<title>W3.CSS</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://www.w3schools.com/lib/w3.css">
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css">
<body class="w3-container"></body>

<p>w3-large:</p>
<div class="w3-topnav w3-large w3-red">
  <a href="#"><i class="fa fa-home w3-large"></i></a>
  <a href="#">W3Schools</a>
  <a href="#">Link 1</a>
  <a href="#">Link 2</a>
  <a href="#">Link 3</a>
</div>

</body>
</html>

-Hasil dari tag diatas.



-Contoh  script link xlarge.

<!DOCTYPE html>
<html>
<title>W3.CSS</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://www.w3schools.com/lib/w3.css">
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css">
<body class="w3-container"></body>

<p>w3-xlarge:</p>
<div class="w3-topnav w3-xlarge w3-blue">
  <a href="#"><i class="fa fa-home w3-xlarge"></i></a>
  <a href="#">W3Schools</a>
  <a href="#">Link 1</a>
  <a href="#">Link 2</a>
  <a href="#">Link 3</a>
</div>

</body>
</html>

-Hasil dari tag diatas.





-Contoh script link xxlarge.

<!DOCTYPE html>
<html>
<title>W3.CSS</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://www.w3schools.com/lib/w3.css">
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css">
<body class="w3-container"></body>

<p>w3-xxlarge:</p>
<div class="w3-topnav w3-xxlarge w3-green">
  <a href="#"><i class="fa fa-home w3-xxlarge"></i></a>
  <a href="#">W3Schools</a>
</div>

</body>
</html>

-Hasil tag diatas.





-Contoh script link xxxlarge.

<!DOCTYPE html>
<html>
<title>W3.CSS</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://www.w3schools.com/lib/w3.css">
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css">
<body class="w3-container"></body>

<p>w3-xxxlarge:</p>
<div class="w3-topnav w3-xxxlarge w3-teal">
  <a href="#"><i class="fa fa-home w3-xxxlarge"></i></a>
  <a href="#">W3Schools</a>
</div>

</body>
</html>

-Hasil tag diatas.





sumber:http://www.w3schools.com/

Sekian belajar dengan saya. semoga bermanfaat.
Wassalamualaikum wr.wb.

0 komentar:

Posting Komentar