<style>
@font-face{
font-family:tdb-font;
src:url(font1.ttf);
}
.tdb-font{
font-family:tdb-font;
}
</style>
<head>
<style>
@font-face{
font-family:tdb-font;
src:url(font1.ttf);
}
.tdb-font{
font-family:tdb-font;
}
</style>
</head>
<body>
<h1 class="tdb-font">TDB-FONT</h1>
</body>
<style>
@font-face{
font-family:tdb-font;
src:url(font1.ttf);
}
.tdb-font{
font-family:tdb-font;
font-weight:600;
}
</style>
<head>
<style>
@font-face{
font-family:tdb-font;
src:url(font1.ttf);
}
.tdb-font{
font-family:tdb-font;
font-weight:600;
}
</style>
</head>
<body>
<h1 class="tdb-font">TDB-FONT</h1>
</body>
<style>
/*shorthand property */
.tdb-class{
font: font-style font-variant font-weight
font-size/line-height font-family
}
</style>
<head>
<style>
/*shorthand property */
.tdb-class{
font: italic small-caps bold
30px/17px Georgia, sarif;
}
</style>
</head>
<body>
<h1 class="tdb-class">CSS Font Shorthand</h1>
</body>
<style>
/*shorthand property */
.tbd-direction{
direction:rtl;
}
.tbd-direction{
direction:ltr;
}
</style>
<style>
p.tdb-rtl {
direction: rtl;
}
</style>
<body>
<h1>CSS3 direction Property</h1>
<H1>Default.</H1>
<p class="tdb-rtl">Direction right to left.</p>
</body>
<style>
/*text-overflow example*/
.tbd-overflow{
width:100px;
white-space:nowrap;
overflow:hidden;
border:solid green 2px;
text-overflow:ellipsis;
}
</style>
<style>
.tbd-common{
width:100px;
white-space:nowrap;
overflow:hidden;
border:solid green 2px;
}
.tdb-one{text-overflow:ellipsis;
}
.tdb-two{text-overflow:clip;
}
/*.tdb-three{text-overflow:"---";
}*/
</style>
<body>
<div class="tbd-common tdb-one">
CSS3 direction Property</div>
<div class="tbd-common tdb-two">
CSS3 direction Property</div>
</body>
<style>
/*text-overflow example*/
.tbd-text{
text-shadow:-7px -6px 3px black;
}
</style>
<style>
/*text-overflow example*/
.tbd-text{
text-shadow:-3px -4px 2px green;
}
</style>
<body>
<div class="tbd-text">
CSS3 direction Property</div>
</body>
<style>
/*example*/
.tdb-spacing{
letter-spacing:5px;
word-spacing:10px;
}
</style>
<style>
/*example*/
.tdb-spacing{
letter-spacing:5px;
}
.tdb-word{
word-spacing:10px;
}
</style>
<body>
<div class="tdb-spacing">
LETTER SPACING</div>
<div class="tdb-word">WORD SPACING</div>
</body>
<style>
/*example*/
.tdb-text1 {
text-decoration: line-through;
}
.tdb-text2 {
text-decoration: overline;
}
.tdb-text3 {
text-decoration: underline overline;
}
.tdb-text4 {
text-decoration: underline;
}
</style>
<style>
.tdb-text1 {
text-decoration: line-through;
}
.tdb-text2 {
text-decoration: overline;
}
.tdb-text3 {
text-decoration: underline overline;
}
.tdb-text4 {
text-decoration: underline;
}
</style>
<body>
<div class="tdb-text1">TDB TUTORIALS</div><br>
<div class="tdb-text2">TDB TUTORIALS</div><br>
<div class="tdb-text3">TDB TUTORIALS</div><br>
<div class="tdb-text4">TDB TUTORIALS</div><br>
</body>
<style>
/*example*/
.tdb-indent {
text-indent: 50px;
}
</style>
<style>
.tdb-indent {
text-indent: 50px;
}
</style>
<body>
<div class="tdb-indent">TDB TUTORIALS<br>
Line 2</div><br>
</body>
Share TDB SCHOOL
Share this E-Learning Website on social media platforms with your friends and followers