HEADER ADS 728X90

CSS padding propert with advance mode | CSS Tutorial | BY Ascode

css padding,
html padding-left,
css padding vs margin,
css margin,
padding in html,
css padding order,
css margin and padding properties,
css padding radius,css padding in advance mode,advance css padding, ascode css tutorial,ascode, coding tutorial, how to learn coding easy way to learn coding

Hi dear welcome to Ascode Blog . In this post we are going to learn to makeing css padding property with advance mode. First Creat A index.html file Copy This HTML CODE and pest it one your code editor. 2ndly creat style.css file Then Copy The CSS CODE and minimize and deminimize css code one by one and pest it then open the index.html file with your browser.

HTML

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>css padding</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div class="container">Ascode</div>

   
   
</body>
</html>

CSS

 .container {
            font-family: sans-serif;
            color: #fff;
            width: fit-content;
            background: #111;
            padding: 20px 30px;
            /* padding: 20px 30px 30px 50px;*/
            /* padding: 20px 30px 0 10px; */
           
            font-weight: bold;
            text-transform: uppercase;
        }

Youtube Tutorial

FLOW US ON SOCIAL MEDIA

Post a Comment

0 Comments

Join Telegram