new changes
This commit is contained in:
13
css.html
13
css.html
@@ -1,15 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="external.css" />
|
||||
<link rel="stylesheet" href="external.css"/>
|
||||
</head>
|
||||
<body>
|
||||
<h1>My First CSS Example</h1>
|
||||
<p>This is a paragraph.</p>
|
||||
|
||||
<h1 class="center">Red and center-aligned heading</h1>
|
||||
<p class="center">Red and center-aligned paragraph.</p>
|
||||
|
||||
<div class="center">
|
||||
<h1 >Red and center-aligned heading</h1>
|
||||
<p >Red and center-aligned paragraph.</p>
|
||||
|
||||
</div>
|
||||
|
||||
<p id="para1">Hello World!</p>
|
||||
<p>This paragraph is not affected by the style.</p>
|
||||
|
||||
@@ -44,7 +47,7 @@
|
||||
|
||||
<!--Flex box horizontal-->
|
||||
|
||||
<div class="center_horizontal_flex_box">
|
||||
<div class="center_vertical_flex_box">
|
||||
|
||||
<h1 style="color: blue;">This is a heading</h1>
|
||||
<h1 style="color: blue; "">This is a heading</h1>
|
||||
|
||||
Reference in New Issue
Block a user