Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 29 additions & 1 deletion defer-css-unoptimized.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,35 @@
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Unoptimized</title>
<link rel="stylesheet" type="text/css" href="defer-css.css">
<style>
.accordion-btn {
width: 100%;
text-align: center;
font-size: 18px;
cursor: pointer;
color: #444;
background-color: #add8e6;
padding: 19px;
outline: none;
border: none;
border-radius: 2px;
}

.container {
display: none;
padding: 0 18px;
background-color: white;
overflow: hidden;
}

h1 {
word-spacing: 5px;
color: blue;
font-weight: bold;
text-align: center;
}
</style>
<link rel="preload" as="style" href="defer-css.css" onload="this.onload=null;this.rel='stylesheet'">
</head>
<body>

Expand Down
33 changes: 0 additions & 33 deletions defer-css.css
Original file line number Diff line number Diff line change
@@ -1,28 +1,8 @@
/* Copyright 2018 Google LLC. SPDX-License-Identifier: Apache-2.0 */
.accordion-btn {
width: 100%;
text-align: center;
font-size: 18px;
cursor: pointer;
color: #444;
background-color: #add8e6;
padding: 19px;
outline: none;
border: none;
border-radius: 2px;
}

.accordion-btn:hover {
background-color: #87cefa;
}

.container {
display: none;
padding: 0 18px;
background-color: white;
overflow: hidden;
}

p {
font-size: 18px;
font-family: Arial, Helvetica, sans-serif;
Expand All @@ -49,16 +29,3 @@ p {
text-overflow: clip;
color: #228b22;
}

h1 {
word-spacing: 5px;
color: blue;
font-weight: bold;
text-align: center;
}

h3 {
word-spacing: -5px;
background-color: #eee;
text-align: center;
}