CSS type and layout - discrete elements

Size
2,010 Kb
Views
20,240

How do I make an css type and layout - discrete elements?

What is a css type and layout - discrete elements? How do you make a css type and layout - discrete elements? This script and codes were developed by Andy Hullinger on 05 November 2022, Saturday.

CSS type and layout - discrete elements Previews

CSS type and layout - discrete elements - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>CSS type and layout - discrete elements</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <h1>I LOVE</h1>
<h2>DEADLINES</h2>
<h3>I LIKE THE <em>Whooshing</em> SOUND THEY MAKE AS THEY FLY BY.</h3>
<h4>Douglas Adams</h4>
</body>
</html>

CSS type and layout - discrete elements - Script Codes CSS Codes

@import url('https://fonts.googleapis.com/css?family=Great+Vibes|Montserrat');
/* First assign the fonts */
h1, h2, h3, h4 { font-family: "Montserrat";
}
em { font-family: "Great Vibes";
}
/* Second! asign the colors */
body { background-color: saddlebrown;
}
h1, h4 { color: tomato;
}
h2 { color: goldenrod;
}
em { color: white;
}
h3 { color: wheat;
}
/*Third, get the font-sizing correct, it will form the basis of your layout */
h1 { font-size: 120px; line-height: 0;
}
h2 { font-size: 65px; line-height: 0;
}
h3 { font-size: 45px; line-height: 1;
}
h4 { font-size: 18px;
}
/* Now! begin the detailed layout of elements */
body { width: 400px; margin: auto;
}
h4 { text-align: center;
}
em { font-weight: normal; font-style: normal; display: block; -webkit-transform: rotate(-10deg); transform: rotate(-10deg); font-size: 80px; line-height: .5; position: relative; top: -20px; left: 43px;
}
/* Finally! Add decorative effects like borders and shadows */
h4 { border-bottom: 6px double tomato; padding-bottom: 15px; margin-top: -30px;
}
em { text-shadow: 3px 3px 5px black;
}
/* Use multiple shadows for fun effects! */
h1 { text-shadow: 3px 3px 0 saddlebrown, 5px 5px 0 goldenrod;
}
h2 { text-shadow: 3px 3px 0 saddlebrown, 5px 5px 0 tomato;
}
CSS type and layout - discrete elements - Script Codes
CSS type and layout - discrete elements - Script Codes
Home Page Home
Developer Andy Hullinger
Username andyhullinger
Uploaded November 05, 2022
Rating 4
Size 2,010 Kb
Views 20,240
Do you need developer help for CSS type and layout - discrete elements?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Andy Hullinger (andyhullinger) Script Codes
Create amazing video scripts with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!