Skip to content

Commit

Permalink
improving styling text and third party apis examples
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdavidmills committed Dec 19, 2019
1 parent 45a82aa commit 91d08b7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions css/styling-text/fundamentals/index.html
Expand Up @@ -9,39 +9,39 @@
}

h1 {
font-size: 3rem;
font-size: 5rem;
text-transform: capitalize;
text-shadow: -1px -1px 1px #aaa,
0px 2px 1px rgba(0,0,0,0.5),
2px 2px 2px rgba(0,0,0,0.7),
0px 0px 3px rgba(0,0,0,0.4);
text-shadow: 1px 1px 1px red,
2px 2px 1px red;
text-align: center;
letter-spacing: 2px;
}

h1 + p {
font-weight: bold;
}

p::first-line {
letter-spacing: 2px;
letter-spacing: 4px;
word-spacing: 4px;
}

p {
font-size: 1.4rem;
font-size: 1.5rem;
color: red;
font-family: Helvetica, Arial, sans-serif;
line-height: 1.5;
line-height: 1.6;
letter-spacing: 1px;
}
</style>
</head>
<body>
<h1>Tommy the cat</h1>

<p>I remember as if it were a meal ago...</p>
<p>Well I remember it as though it were a meal ago...</p>

<p>Said Tommy the Cat as he reeled back to clear whatever foreign matter may have nestled its way into his mighty throat. Many a fat alley rat had met its demise while staring point blank down the cavernous barrel of this awesome prowling machine. Truly a wonder of nature this urban predator — Tommy the cat had many a story to tell. But it was a rare occasion such as this that he did.</p>


</body>
</html>
</html>
2 changes: 1 addition & 1 deletion javascript/apis/third-party-apis/nytimes/index.html
Expand Up @@ -6,7 +6,7 @@
<link href="nytimes.css" rel="stylesheet">
</head>
<body>
<h1>NY Times video search</h1>
<h1>NY Times article search</h1>

<div class="wrapper">

Expand Down
Expand Up @@ -6,7 +6,7 @@
<link href="nytimes.css" rel="stylesheet">
</head>
<body>
<h1>NY Times video search</h1>
<h1>NY Times article search</h1>

<div class="wrapper">

Expand Down

0 comments on commit 91d08b7

Please sign in to comment.