Playing more with the code post archive prototype
Are those Famicom colored pill-shaped list items? I’m not sure, but I’m calling it good for the day. I didn’t have a concrete goal for what I was trying to do. I was mostly playing around with the pre-existing styles to see what else I could come up. All of the content that will be on this page is not currently present. I think I need to tackle this again after I spend some time working on this on paper.
100 Days of Code
- Practice begins anew
- Playing with clip-path and an orange cat
- Quiz Prototype
- Palindrome flip
- Spinning Record
- Flexbox and SVG traffic light
- Final Fetch
- Web Audio API Practice
- Learning about fluid typography and CSS clamp
- Trying Horizontal Scrolling
- A Quick Test of Scroll Snap
- Clamp Wrapper
- Dark Mode and CSS Variables
- Working with prefer-reduced-motion
- Style Customizer Prototype
- Practice with the matchMedia method
- Wrong about CSS Variable fallbacks
- Fun with pseudo-elements
- Goofing around with grid and more
- Adding more books to the bookshelf
- Simple Button Animation Name Swap
- Simple Flexbox Header
- Object-fit and scaling images within an overflow container
- Picture Element Practice
- Playing with backdrop-filter
- Making bubbles
- Making Moving Bubblers
- Mock Recipe Listing
- Shifting Position Within A Grid
- Video Graphics Done With HTML, CSS, and JavaScript
- Animating with audio playback
- Trying out a Glitch animation
- Tricky times with CSS Grid
- Playing with an SVG of my old logo
- Making Faces - SVG and JavaScript
- Fun link styling
- Full-bleeds in CSS Grid
- Variable Font Refresher
- CSS Triangles and the Details Element
- Text on a path in SVG
- Simple Background Color Changer
- Improving my Background Color Changer
- CSS Only Tooltip
- Working more with loading JSON
- No Frills Card
- Swiping Cards
- Styling a newsletter signup
- Getting the hang of emoji
- Counting the days
- Post listing mockup using a three column grid
- First attempt at a scroll indicator
- Trying out new ways to style margins and padding
- Trying a Secret of Mana-esque menu
- Simple article with table of contents
- Sakura petals take shape
- More Clip Path Practice
- Update links when audio plays
- The Address Element
- Potential address for site footer
- Scroll Behavior Practice
- Finding the time and displaying it
- Grid Area and Grid Template Area Practice
- Search to remove
- Playing with the Fullscreen API
- Trying a keyboard shortcut with Vanilla JS
- Practice with the IS selector
- Spicing up links
- Simple Spotlight
- Practicing with Switch statements
- Goofing around with clip path
- Simple transition using clip-path
- Grid row and column span practice
- Send words into The Void
- Interesting float and flexbox technique
- Learning about a few modern CSS Pseudo Class Selectors
- Card display with horizontal scrolling
- Vanilla JS Lightbox Challenge
- Tiny tweaks to my Lightbox script
- Additional tweaks to my lightbox
- Table Practice
- Possible responsive table solution
- CSS Grid Fidget Toy
- Neat responsive flexbox layout
- Quick post prototype
- Learning About Regular Expressions
- Cursor styles reference
- We meet again slider
- Mocking up a sign up form
- Learning to build a better slider
- Learning to build a better slider part two
- Learning to build a better slider part three
- Learning to build a better slider part four
- Practice with grid and cat photos
- Randomizing cat photos in a grid
- Iterating through cats and JavaScript
- Cat gallery tweaks
- Working with toggles, cat photos, and classList
- Code post archive prototype
- This Post
- Coming May 19, 2021
View the code:
HTML and JS
<div class="code-block">
<div class="code-grid">
<h2>100 Days of Code</h2>
<time datetime="PT100D">2021/02/09–2021/05/19</time>
<ol class="code-posts">
<li><a href="https://jeremycaudle.com/code/practice-begins-anew" title=""><span>Practice begins anew</span></a></li>
<li><a href="https://jeremycaudle.com/code/playing-with-clip-path-and-an-orange-cat" title=""><span>Playing with clip-path and an orange cat</span></a></li>
<li><a href="https://jeremycaudle.com/code/quiz-prototype" title=""><span>Quiz Prototype</span></a></li>
<li><a href="https://jeremycaudle.com/code/palindrome-flip" title=""><span>Palindrome flip</span></a></li>
<li><a href="https://jeremycaudle.com/code/spinning-record" title=""><span>Spinning Record</span></a></li>
<li><a href="https://jeremycaudle.com/code/flexbox-and-svg-traffic-light" title=""><span>Flexbox and SVG traffic light</span></a></li>
<li><a href="https://jeremycaudle.com/code/final-fetch" title=""><span>Final Fetch</span></a></li>
<li><a href="https://jeremycaudle.com/code/web-audio-api-practice" title=""><span>Web Audio API Practice</span></a> </li>
<li><a href="https://jeremycaudle.com/code/learning-about-fluid-typography-and-css-clamp" title=""><span>Learning about fluid typography and CSS clamp</span></a></li>
<li><a href="https://jeremycaudle.com/code/trying-horizontal-scrolling" title=""><span>Trying Horizontal Scrolling</span></a></li>
<li><a href="https://jeremycaudle.com/code/a-quick-test-of-scroll-snap" title=""><span>A Quick Test of Scroll Snap</span></a></li>
<li><a href="https://jeremycaudle.com/code/clamp-wrapper" title=""><span>Clamp Wrapper</span></a></li>
<li><a href="https://jeremycaudle.com/code/dark-mode-and-css-variables" title=""><span>Dark Mode and CSS Variables</span></a></li>
<li><a href="https://jeremycaudle.com/code/working-with-prefers-reduced-motion" title=""><span>Working with prefer-reduced-motion</span></a></li>
<li><a href="https://jeremycaudle.com/code/style-customizer-prototype" title=""><span>Style Customizer Prototype</span></a> </li>
<li><a href="https://jeremycaudle.com/code/practice-with-the-matchmedia-method" title=""><span>Practice with the matchMedia method</span></a></li>
<li><a href="https://jeremycaudle.com/code/practice-with-the-matchmedia-method" title=""><span>Wrong about CSS Variable fallbacks</span></a></li>
<li><a href="https://jeremycaudle.com/code/fun-with-pseudo-elements" title=""><span>Fun with pseudo-elements</span></a></li>
<li><a href="https://jeremycaudle.com/code/goofing-around-with-grid-and-more" title=""><span>Goofing around with grid and more</span></a></li>
<li><a href="https://jeremycaudle.com/code/adding-more-books-to-the-bookshelf" title=""><span>Adding more books to the bookshelf</span></a></li>
<li><a href="https://jeremycaudle.com/code/simple-button-animation-name-swap" title=""><span>Simple Button Animation Name Swap</span></a></li>
<li><a href="https://jeremycaudle.com/code/simple-flexbox-header" title=""><span>Simple Flexbox Header</span></a> </li>
<li><a href="https://jeremycaudle.com/code/object-fit-and-scaling-images-within-an-overflow-container" title=""><span>Object-fit and scaling images within an overflow container</span></a></li>
<li><a href="https://jeremycaudle.com/code/picture-element-practice" title=""><span>Picture Element Practice</span></a></li>
<li><a href="https://jeremycaudle.com/code/playing-with-backdrop-filter" title=""><span>Playing with backdrop-filter</span></a></li>
<li><a href="https://jeremycaudle.com/code/making-bubbles" title=""><span>Making bubbles</span></a></li>
<li><a href="https://jeremycaudle.com/code/making-moving-bubbles" title=""><span>Making Moving Bubblers</span></a></li>
<li><a href="https://jeremycaudle.com/code/mock-recipe-listing" title=""><span>Mock Recipe Listing</span></a></li>
<li><a href="https://jeremycaudle.com/code/shifting-position-within-a-grid" title=""><span>Shifting Position Within A Grid</span></a> </li>
<li><a href="https://jeremycaudle.com/code/video-graphics-done-with-html-css-and-javascript" title=""><span>Video Graphics Done With HTML, CSS, and JavaScript</span></a></li>
<li><a href="https://jeremycaudle.com/code/animating-with-audio-playback" title=""><span>Animating with audio playback</span></a></li>
<li><a href="https://jeremycaudle.com/code/trying-out-a-glitch-animation" title=""><span>Trying out a Glitch animation</span></a></li>
<li><a href="https://jeremycaudle.com/code/tricky-times-with-css-grid" title=""><span>Tricky times with CSS Grid </span></a></li>
<li><a href="https://jeremycaudle.com/code/playing-with-an-svg-of-my-old-logo" title=""><span>Playing with an SVG of my old logo</span></a></li>
<li><a href="https://jeremycaudle.com/code/making-faces-svg-and-javascript" title=""><span>Making Faces - SVG and JavaScript</span></a></li>
<li><a href="https://jeremycaudle.com/code/fun-link-styling" title=""><span>Fun link styling</span></a> </li>
<li><a href="https://jeremycaudle.com/code/full-bleeds-in-css-grid" title=""><span>Full-bleeds in CSS Grid</span></a></li>
<li><a href="https://jeremycaudle.com/code/variable-font-refresher" title=""><span>Variable Font Refresher</span></a></li>
<li><a href="https://jeremycaudle.com/code/css-triangles-and-the-details-element" title=""><span>CSS Triangles and the Details Element</span></a></li>
<li><a href="https://jeremycaudle.com/code/text-on-a-path-in-svg" title=""><span>Text on a path in SVG</span></a></li>
<li><a href="https://jeremycaudle.com/code/simple-background-color-changer" title=""><span>Simple Background Color Changer</span></a></li>
<li><a href="https://jeremycaudle.com/code/improving-my-background-color-changer" title=""><span>Improving my Background Color Changer</span></a></li>
<li><a href="https://jeremycaudle.com/code/css-only-tooltip" title=""><span>CSS Only Tooltip</span></a> </li>
<li><a href="https://jeremycaudle.com/code/working-more-with-loading-json" title=""><span>Working more with loading JSON</span></a></li>
<li><a href="https://jeremycaudle.com/code/no-frills-card" title=""><span>No Frills Card</span></a></li>
<li><a href="https://jeremycaudle.com/code/swiping-cards" title=""><span>Swiping Cards</span></a></li>
<li><a href="https://jeremycaudle.com/code/styling-a-newsletter-signup" title=""><span>Styling a newsletter signup</span></a></li>
<li><a href="https://jeremycaudle.com/code/getting-the-hang-of-emoji" title=""><span>Getting the hang of emoji</span></a></li>
<li><a href="https://jeremycaudle.com/code/counting-the-days" title=""><span>Counting the days</span></a></li>
<li><a href="https://jeremycaudle.com/code/post-listing-mockup-using-a-three-column-grid" title=""><span>Post listing mockup using a three column grid</span></a> </li>
<li><a href="https://jeremycaudle.com/code/first-attempt-at-a-scroll-indicator" title=""><span>First attempt at a scroll indicator</span></a></li>
<li><a href="https://jeremycaudle.com/code/trying-out-new-ways-to-style-margins-and-padding" title=""><span>Trying out new ways to style margins and padding</span></a></li>
<li><a href="https://jeremycaudle.com/code/trying-a-secret-of-mana-esque-menu" title=""><span>Trying a Secret of Mana-esque menu</span></a></li>
<li><a href="https://jeremycaudle.com/code/simple-article-with-table-of-contents" title=""><span>Simple article with table of contents</span></a></li>
<li><a href="https://jeremycaudle.com/code/sakura-petals-take-shape" title=""><span>Sakura petals take shape</span></a></li>
<li><a href="https://jeremycaudle.com/code/more-clip-path-practice" title=""><span>More Clip Path Practice</span></a></li>
<li><a href="https://jeremycaudle.com/code/update-links-when-audio-plays" title=""><span>Update links when audio plays</span></a> </li>
<li><a href="https://jeremycaudle.com/code/the-address-element" title=""><span>The Address Element</span></a></li>
<li><a href="https://jeremycaudle.com/code/potential-address-for-site-footer" title=""><span>Potential address for site footer</span></a></li>
<li><a href="https://jeremycaudle.com/code/scroll-behavior-practice" title=""><span>Scroll Behavior Practice</span></a></li>
<li><a href="https://jeremycaudle.com/code/finding-the-time-and-displaying-it" title=""><span>Finding the time and displaying it</span></a></li>
<li><a href="https://jeremycaudle.com/code/grid-area-and-grid-template-area-practice" title=""><span>Grid Area and Grid Template Area Practice</span></a></li>
<li><a href="https://jeremycaudle.com/code/search-to-remove" title=""><span>Search to remove</span></a></li>
<li><a href="https://jeremycaudle.com/code/playing-with-the-fullscreen-api" title=""><span>Playing with the Fullscreen API</span></a> </li>
<li><a href="https://jeremycaudle.com/code/trying-a-keyboard-shortcut-with-vanilla-js" title=""><span>Trying a keyboard shortcut with Vanilla JS</span></a></li>
<li><a href="https://jeremycaudle.com/code/practice-with-the-is-selector" title=""><span>Practice with the IS selector</span></a></li>
<li><a href="https://jeremycaudle.com/code/spicing-up-links" title=""><span>Spicing up links</span></a></li>
<li><a href="https://jeremycaudle.com/code/simple-spotlight" title=""><span>Simple Spotlight</span></a></li>
<li><a href="https://jeremycaudle.com/code/practicing-with-switch-statements" title=""><span>Practicing with Switch statements</span></a></li>
<li><a href="https://jeremycaudle.com/code/goofing-around-with-clip-path" title=""><span>Goofing around with clip path</span></a></li>
<li><a href="https://jeremycaudle.com/code/simple-transition-using-clip-path" title=""><span>Simple transition using clip-path</span></a> </li>
<li><a href="https://jeremycaudle.com/code/grid-row-and-column-span-practice" title=""><span>Grid row and column span practice</span></a></li>
<li><a href="https://jeremycaudle.com/code/send-words-into-the-void" title=""><span>Send words into The Void</span></a></li>
<li><a href="https://jeremycaudle.com/code/interesting-float-and-flexbox-technique" title=""><span>Interesting float and flexbox technique</span></a></li>
<li><a href="https://jeremycaudle.com/code/learning-about-a-few-modern-css-pseudo-class-selectors" title=""><span>Learning about a few modern CSS Pseudo Class Selectors</span></a></li>
<li><a href="https://jeremycaudle.com/code/card-display-with-horizontal-scrolling" title=""><span>Card display with horizontal scrolling</span></a></li>
<li><a href="https://jeremycaudle.com/code/vanilla-js-lightbox-challenge" title=""><span>Vanilla JS Lightbox Challenge</span></a></li>
<li><a href="https://jeremycaudle.com/code/tiny-tweaks-to-my-lightbox-script" title=""><span>Tiny tweaks to my Lightbox script</span></a></li>
<li><a href="https://jeremycaudle.com/code/additional-tweaks-to-my-lightbox" title=""><span>Additional tweaks to my lightbox</span></a></li>
<li><a href="https://jeremycaudle.com/code/table-practice" title=""><span>Table Practice</span></a></li>
<li><a href="https://jeremycaudle.com/code/possible-responsive-table-solution" title=""><span>Possible responsive table solution</span></a></li>
<li><a href="https://jeremycaudle.com/code/css-grid-fidget-toy" title=""><span>CSS Grid Fidget Toy</span></a></li>
<li><a href="https://jeremycaudle.com/code/neat-responsive-flexbox-layout" title=""><span>Neat responsive flexbox layout</span></a></li>
<li><a href="https://jeremycaudle.com/code/quick-post-prototype" title=""><span>Quick post prototype</span></a></li>
<li><a href="https://jeremycaudle.com/code/learning-about-regular-expressions" title=""><span>Learning About Regular Expressions</span></a></li>
<li><a href="https://jeremycaudle.com/code/cursor-styles-reference" title=""><span>Cursor styles reference</span></a></li>
<li><a href="https://jeremycaudle.com/code/we-meet-again-slider" title=""><span>We meet again slider</span></a></li>
<li><a href="https://jeremycaudle.com/code/mocking-up-a-sign-up-form" title=""><span>Mocking up a sign up form</span></a></li>
<li><a href="https://jeremycaudle.com/code/learning-to-build-a-better-slider" title=""><span>Learning to build a better slider</span></a></li>
<li><a href="https://jeremycaudle.com/code/learning-to-build-a-better-slider-part-two" title=""><span>Learning to build a better slider part two</span></a></li>
<li><a href="https://jeremycaudle.com/code/learning-to-build-a-better-slider-part-three" title=""><span>Learning to build a better slider part three</span></a></li>
<li><a href="https://jeremycaudle.com/code/learning-to-build-a-better-slider-part-four" title=""><span>Learning to build a better slider part four</span></a></li>
<li><a href="https://jeremycaudle.com/code/practice-with-grid-and-cat-photos" title=""><span>Practice with grid and cat photos</span></a></li>
<li><a href="https://jeremycaudle.com/code/randomizing-cat-photos-in-a-grid" title=""><span>Randomizing cat photos in a grid</span></a></li>
<li><a href="https://jeremycaudle.com/code/iterating-through-cats-and-javascript" title=""><span>Iterating through cats and JavaScript</span></a></li>
<li><a href="https://jeremycaudle.com/code/cat-gallery-tweaks" title=""><span>Cat gallery tweaks</span></a></li>
<li><a href="https://jeremycaudle.com/code/working-with-toggles-cat-photos-and-classlist" title=""><span>Working with toggles, cat photos, and classList</span></a></li>
<li><a href="https://jeremycaudle.com/code/code-post-archive-prototype" title=""><span>Code post archive prototype</span></a></li>
<li><a href="" title=""><span>This Post</span></a></li>
<li><a href="" title=""><span>Coming May 19, 2021</span></a></li>
</ol>
</div>
</div>
CSS
.code-block {
font-family: Helvetica, Arial, sans-serif;
}
/* base styles for any browser */
.code-block h2 {
display: block;
text-align: center;
margin: 1rem 0;
font-size: 2;
text-transform: uppercase;
}
.code-block time {
display: block;
text-align: center;
margin: 1rem 0;
text-transform: uppercase;
}
ol.code-posts {
margin: 1rem auto;
line-height: 1.65;
list-style: none;
counter-reset: code-post;
}
ol.code-posts li {
padding: .25rem;
position: relative;
counter-increment: code-post;
transition: color .125s ease-out, background-color .125s ease-out;;
}
ol.code-posts li::before {
content: counter(code-post, decimal-leading-zero);
margin-right: .5rem;
min-width: 3em;
transition: color .125s ease-out, background-color .125s ease-out;;
}
ol.code-posts li a {
text-decoration: underline;
text-decoration-thickness: 2px;
text-underline-offset: 1px;
text-decoration-color: blue;
transition: text-underline-offset .125s ease-out, text-decoration-color .25s ease-out, color .25s ease-out, background-color .25s ease-out;
}
ol.code-posts li a:hover, ol.code-posts li a:focus {
color: purple;
text-decoration-color: purple;
text-underline-offset: 3px;
}
@supports (display: flex) {
.code-block {
max-width: 60em;
margin: 1rem auto;
}
ol.code-posts {
margin: 1rem auto;
max-width: 98%;
display: flex;
flex-direction: column;
flex-wrap: wrap;
justify-content: center;
z-index: 1;
}
ol.code-posts li {
display: flex;
flex-direction: row;
}
ol.code-posts li:hover {
}
ol.code-posts li::before {
content: counter(code-post, decimal-leading-zero);
min-width: auto;
background-color: rgb(133, 0, 0);
color: #eee;
border-radius: 1rem 0 0 1rem;
width: 2rem;
padding: .25rem .25rem .25rem .5rem;
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
align-content: center;
margin-right: 0;
}
ol.code-posts li a {
display: inline-block;
flex-grow: 100%;
padding: .25rem 1rem .25rem .25rem;
border: solid 1px #22222233;
border-radius: 0 1rem 1rem 0;
text-decoration: none;
color: #222;
background-color: orange;
}
ol.code-posts li a:hover, ol.code-posts li a:focus {
color: #222;
background-color: rgb(255, 208, 0);
text-decoration-color: transparent;
text-underline-offset: unset;
}
ol.code-posts li a:focus {
outline: inset 1px;
}
@media (min-width: 667px) {
ol.code-posts {
flex-direction: row;
flex-wrap: wrap;
justify-content: flex-start;
align-items: flex-start;
}
}
}