Open In App

Foundation CSS Setup Complete Reference

Foundation CSS Setup includes Default Media Queries that include media features such as width, height, color, and display the content as per the specified screen resolution and Global Style Colors is the default color palette made available for use by Foundation CSS.

Complete list of Foundation CSS Setup are listed below:



Below example will give you a brief idea about the Setup of Foundation CSS:

Example:






<!DOCTYPE html>
<html>
<head>
    <title>Foundation CSS Global Style Colors</title>
    <!-- Compressed CSS -->
    <link rel="stylesheet"
        href=
 
    <!-- Compressed JavaScript -->
    <script src=
    </script>
    <script src=
    </script>
</head>
<body>
    <center>
    <h1 style="color:green;">GeeksforGeeks</h1>
    <h3>Foundation CSS Global Style Colors</h3>
    <br/>
    <div class="panel callout primary">
        Primary
    </div>
    <div class="panel callout secondary">
        Secondary
    </div>
    <div class="panel callout success">
        Success
    </div>
    <div class="panel callout warning">
        Warning
    </div>
    <div class="panel callout alert">
        Alert
    </div>
    </center>
    <script>
    $(document).foundation();
    </script>
</body>
</html>

Output:

Foundation CSS Setup


Article Tags :