Introduction to CSS3

CSS3 - Chapter 1

CSS3 Tutorial

We appreciate your patience while we actively develop and enhance our content for a better experience.

Sample Code
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Simple CSS3 Example</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f0f0f0;
        }
        h1 {
            color: #4a86e8;
            text-align: center;
            border-bottom: 2px solid #4a86e8;
            padding-bottom: 5px;
        }
        p {
            font-size: 1.2em;
            text-align: justify;
            padding: 10px;
        }
        ul {
            list-style-type: circle;
        }
        li {
            margin-bottom: 5px;
            font-weight: bold;
        }
        button {
            background-color: #4a86e8;
            color: white;
            font-size: 1em;
            padding: 10px 20px;
            border: none;
            cursor: pointer;
        }
        button:hover {
            background-color: #2e5cb8;
        }
    </style>
    <script>
        function showMessage() {
            alert("Hello, student!");
        }
    </script>
</head>
<body>
    <h1>My First CSS3 Webpage</h1>
    <p>Welcome to my first CSS3 webpage! Let's learn some CSS3 and JavaScript together.</p>
    <h2>Things I Like:</h2>
    <ul>
        <li>Programming</li>
        <li>Video games</li>
        <li>Reading</li>
    </ul>
    <button onclick="showMessage()">Click me!</button>
</body>
</html>