codepen.io Open in urlscan Pro
2606:4700::6810:20e4  Public Scan

Submitted URL: https://click.convertkit-mail.com/0vu2e5drlxu9ho85qe4alhv6rpk55hn/dpheh0h0p6gvv2hl/aHR0cHM6Ly9jb2RlcGVuLmlvL3RoZWJhYnlkaW5vL3Blbi9...
Effective URL: https://codepen.io/thebabydino/pen/WNVPdJg?utm_source=convertkit&utm_medium=email&utm_campaign=A%20quick%20one%20-%...
Submission: On December 03 via api from RU — Scanned from NZ

Form analysis 0 forms found in the DOM

Text Content

CodePen HomeCodePen Home


SIMPLEST INNER GLOW CARD ANIMATION

Ana Tudor Follow
Love

Pen Editor Menu
RunSettings


CHANGE VIEW

Use Left LayoutUse Top LayoutUse Right Layout
Editor View/pen/Details View/details/Full Page View/full/
Editor View/pen/Details View/details/Full Page View/full/
Sign UpLog In


PEN SETTINGS


HTML CSS JS
Behavior Editor


HTML

HTML PREPROCESSOR

ABOUT HTML PREPROCESSORS

HTML preprocessors can make writing HTML more powerful or convenient. For
instance, Markdown is designed to be easier to write and read for text documents
and you could write a loop in Pug.

Learn more · Versions

None Haml Markdown Slim Pug


ADD CLASS(ES) TO <HTML>

ADDING CLASSES

In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements
like the <html> tag. If you want to add classes there that can affect the whole
document, this is the place to do it.

STUFF FOR <HEAD>

ABOUT THE <HEAD>

In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head> of the
document, put that code here.

!

INSECURE RESOURCE

The resource you are linking to is using the 'http' protocol, which may not work
when the browser is using https.

↑ Insert the most common viewport meta tag


CSS

CSS PREPROCESSOR

ABOUT CSS PREPROCESSORS

CSS preprocessors help make authoring CSS easier. All of them offer things like
variables and mixins to provide convenient abstractions.

Learn more · Versions

None Less SCSS Sass Stylus PostCSS

Need an add-on?

ADD-ONS FOR SASS (.SCSS)

Just like a real project, use these lines at the top of your CSS to import them
as a dependency.

 * @import "susy"; Add
   
   ABOUT SUSY
   
   Susy is a grid framework. But rather than a pre-defined set of grid options,
   you configure it yourself and build grids as-needed in your containers with
   your selectors.
   
   Learn more

 * @import "breakpoint"; Add
   
   ABOUT BREAKPOINT
   
   While you can already do nested media queries in Sass, which is great,
   Breakpoint helps make them even easier with a single powerful @mixin.
   
   Learn more

 * @import "color-schemer"; Add
   
   ABOUT COLOR SCHEMER
   
   Color Schemer adds to the default Sass color functions, allowing for more
   powerful manipulation of colors.
   
   Learn more

 * @import "bourbon@5.*"; Add
   
   ABOUT BOURBON
   
   Bourbon is "a simple and lightweight mixin library for Sass." It has a bunch
   of helper functions to make writing CSS a bit easier.
   
   Learn more

 * @import "neat@4.*"; Add
   
   ABOUT NEAT
   
   Neat is "a lightweight semantic grid framework." You call special @mixins to
   build float-based grids as needed. It depends on Sass and Bourbon, so in
   addition to having either variety of Sass active, you'll need to import
   Bourbon too, like this:
   
   @import "bourbon";
   @import "neat";
   
   Learn more

 * @import "modularscale@3.*"; Add
   
   ABOUT MODULAR SCALE
   
   Modular Scale helps build a list of values based on a consistent relationship
   (think of things like the golden ratio or musical increments). These values
   can be used for things like sizing type to "create a sense of harmony in a
   design."
   
   Learn more

CSS BASE

ABOUT CSS BASE

It's a common practice to apply CSS to a page that styles elements such that
they are consistent across all browsers. We offer two of the most popular
choices: normalize.css and a reset. Or, choose Neither and nothing will be
applied.

 * Normalize
 * Reset
 * Neither

VENDOR PREFIXING

ABOUT VENDOR PREFIXING

To get the best cross-browser support, it is a common practice to apply vendor
prefixes to CSS properties and values that require them to work. For instance
-webkit- or -moz-.

We offer two popular choices: Autoprefixer (which processes your CSS
server-side) and -prefix-free (which applies prefixes via a script,
client-side).

 * Autoprefixer
 * Prefixfree
 * Neither

ADD EXTERNAL STYLESHEETS/PENS

Any URLs added here will be added as <link>s in order, and before the CSS in the
editor. You can use the CSS from another Pen by using its URL and the proper URL
extension.


Powered by

ABOUT EXTERNAL RESOURCES

You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to
it here and we'll apply it, in the order you have them, before the CSS in the
Pen itself.

You can also link to another Pen here (use the .css URL Extension) and we'll
pull the CSS from that Pen and include it. If it's using a matching
preprocessor, use the appropriate URL Extension and we'll combine the code
before preprocessing, so you can use the linked Pen as a true dependency.

Learn more

?

INSECURE RESOURCE

You are linking to a resource using the non-secure http:// protocol, which may
not work when the browser is using https:// like CodePen enforces.

?

URL EXTENSION REQUIRED

When linking another Pen as a resource, make sure you use a URL Extension of the
type of code you want to link to. Either .css, .js, or the extension of a
matching code processor.


?

INSECURE RESOURCE

You are linking to a resource using the non-secure http:// protocol, which may
not work when the browser is using https:// like CodePen enforces.

?

URL EXTENSION REQUIRED

When linking another Pen as a resource, make sure you use a URL Extension of the
type of code you want to link to. Either .css, .js, or the extension of a
matching code processor.


+ add another resource


JAVASCRIPT

JAVASCRIPT PREPROCESSOR

ABOUT JAVASCRIPT PREPROCESSORS

JavaScript preprocessors can help make authoring JavaScript easier and more
convenient.

Learn more · Versions

None Babel TypeScript CoffeeScript LiveScript


Babel includes JSX processing.

ADD EXTERNAL SCRIPTS/PENS

Any URL's added here will be added as <script>s in order, and run before the
JavaScript in the editor. You can use the URL of any other Pen and it will
include the JavaScript from that Pen.


Powered by

ABOUT EXTERNAL RESOURCES

You can apply a script from anywhere on the web to your Pen. Just put a URL to
it here and we'll add it, in the order you have them, before the JavaScript in
the Pen itself.

If the script you link to has the file extension of a preprocessor, we'll
attempt to process it before applying.

You can also link to another Pen here, and we'll pull the JavaScript from that
Pen and include it. If it's using a matching preprocessor, we'll combine the
code before preprocessing, so you can use the linked Pen as a true dependency.

Learn more

?

INSECURE RESOURCE

You are linking to a resource using the non-secure http:// protocol, which may
not work when the browser is using https:// like CodePen enforces.

?

URL EXTENSION REQUIRED

When linking another Pen as a resource, make sure you use a URL Extension of the
type of code you want to link to. Either .css, .js, or the extension of a
matching code processor.


?

INSECURE RESOURCE

You are linking to a resource using the non-secure http:// protocol, which may
not work when the browser is using https:// like CodePen enforces.

?

URL EXTENSION REQUIRED

When linking another Pen as a resource, make sure you use a URL Extension of the
type of code you want to link to. Either .css, .js, or the extension of a
matching code processor.


+ add another resource


PACKAGES

ADD PACKAGES

Search for and use JavaScript packages from npm here. By selecting a package, an
import statement will be added to the top of the JavaScript editor for this
package.


Powered by

ABOUT PACKAGES

Using packages here is powered by esm.sh, which makes packages from npm not only
available on a CDN, but prepares them for native JavaScript ESM usage.

All packages are different, so refer to their docs for how they work.

If you're using React / ReactDOM, make sure to turn on Babel for the JSX
processing.


BEHAVIOR

AUTO SAVE

If active, Pens will autosave every 30 seconds after being saved once.



AUTO-UPDATING PREVIEW

If enabled, the preview panel updates automatically as you code. If disabled,
use the "Run" button to update.



FORMAT ON SAVE

If enabled, your code will be formatted when you actively save your Pen. Note:
your code becomes un-folded during formatting.




EDITOR SETTINGS

CODE INDENTATION

 * Spaces
 * Tabs

CODE INDENT WIDTH

1 2 3 4 5 6


WANT TO CHANGE YOUR SYNTAX HIGHLIGHTING THEME, FONTS AND MORE?

Visit your global Editor Settings.


HTML CSS JS Result


HTML (PUG)


HTML (PUG)

0 unsaved changes

HTML Options
 * Format HTML
 * View Compiled HTML
 * Analyze HTML
 * Maximize HTML Editor
 * Minimize HTML Editor
 * Fold All
 * Unfold All

xxxxxxxxxx

1


 
1

.card I'm a card with an inner glow



!


CSS (SCSS)


CSS (SCSS)


CSS Options
 * Format CSS
 * View Compiled CSS
 * Analyze CSS
 * Maximize CSS Editor
 * Minimize CSS Editor
 * Fold All
 * Unfold All

x


 
1


@property --a { /* must register --a to animate it */

2

  syntax: '<angle>';

3

  initial-value: 0deg;

4


  /* used only on pseudo, nowhere to be inherited, 

5

   * better perf if set false, see 

6

   * https://www.bram.us/2024/10/03/benchmarking-the-performance-of-css-property/ */

7

  inherits: false

8

}

9

​

10


.card {

11


  /* hide outer part of glow */

12

  overflow: hidden;

13


  /* needed for absolutely positioned pseudo */

14

  position: relative;

15


  /* adjust width as needed IF it's even necessary to set */

16

  width: Min(12.5em, 80vmin);

17


  /* adjust aspect-ratio OR height IF height not given by content */

18

  aspect-ratio: 1;

19


  /* round outer card corners */

20

  border-radius: .5em;

21

  

22


  /* text & layout styles below just for prettifying */



!


JS


JS


JS Options
 * Format JavaScript
 * View Compiled JavaScript
 * Analyze JavaScript
 * Maximize JavaScript Editor
 * Minimize JavaScript Editor
 * Fold All
 * Unfold All

xxxxxxxxxx

1


 
1

​



!

999px




CONSOLE

Clear


1.0×0.5×0.25×
ForkEmbedExport


EXPORT

Export .zip
Export .zip with Build Process
Share

ConsoleAssetsCommentsCtrl


EDITOR COMMANDS

Ctrl Ctrl Space Autocomplete
F Find
G Find Next
⇧ G Find Previous
⇧ Opt F Find & Replace
⇧ F Format Code
[ Indent Code Right
] Indent Code Left
⇧ Tab Auto Indent Code
/ Line Comment
⇧ Opt / Block Comment

Also see: Tab Triggers


EDITOR FOCUS

Alt Opt 1 HTML Editor
Alt Opt 2 CSS Editor
Alt Opt 3 JS Editor
Alt Opt 4 Toggle Console
Alt Opt 0 Preview
Esc Exit currently focused editor


MISC

⇧ 7 Re-run Preview
⇧ 8 Clear All Analyze Errors
⇧ 9 Open This Dialog
⇧ 0 Open Debug View


HTML SPECIFIC

⇧ A Wrap With...


PEN ACTIONS

P Create New Pen
S Save
⇧ S Save As Private PRO
I Info Panel (if owned)



CodePen requires JavaScript to render the code and preview areas in this view.

Trying viewing this Pen in Debug Mode, which is the preview area without any
iframe and does not require JavaScript. Although what the preview is of might!

Need to know how to enable JavaScript? Go here.

Close this, use anyway.
{"__browser":{"country":"NZ","device":"unknown_device","mobile":false,"name":"chrome","platform":"linux","version":"131"},"__constants":{},"__CPDATA":{"domain_iframe":"https://cdpn.io","environment":"production","host":"codepen.io","iframe_allow":"accelerometer
*; bluetooth *; camera *; encrypted-media *; display-capture *; geolocation *;
gyroscope *; microphone *; midi *; clipboard-read *; clipboard-write *;
web-share *; serial *; xr-spatial-tracking *","iframe_sandbox":"allow-downloads
allow-forms allow-modals allow-pointer-lock allow-popups-to-escape-sandbox
allow-popups allow-presentation allow-same-origin allow-scripts
allow-top-navigation-by-user-activation"},"__graphql":{"data":{"data":{"sessionUser":{"id":"VoDkNZ","name":"Captain
Anonymous","title":"Captain
Anonymous","avatar":"https://assets.codepen.io/t-1/user-default-avatar.jpg?format=auto&version=0","currentContext":{"id":"VoDkNZ","title":"Captain
Anonymous","name":"Captain
Anonymous","avatar":"https://assets.codepen.io/t-1/user-default-avatar.jpg?format=auto&version=0","username":"anon","__typename":"User"},"currentTeamId":null,"username":"anon","admin":false,"anon":true,"pro":false,"verified":false,"featureFlags":[],"teams":[],"__typename":"User"}}},"url":"https://codepen.io/graphql","api":"cprails"},"__user":{"anon":true,"base_url":"/anon/","cohorts":[],"current_team_hashid":null,"current_team_id":0,"hashid":"VoDkNZ","id":1,"itemType":"user","name":"Captain
Anonymous","paid":false,"tier":0,"username":"anon","created_at":null,"email_verified":null,"collections_count":0,"collections_private_count":0,"followers_count":0,"followings_count":0,"pens_count":0,"pens_private_count":0,"projects_count":0,"projects_private_count":0},"__firebase":{"config":{"apiKey":"AIzaSyBgLAe7N_MdFpuVofMkcQLGwwhUu5tuxls","authDomain":"codepen-store-production.firebaseapp.com","databaseURL":"https://codepen-store-production.firebaseio.com","disabled":false,"projectId":"codepen-store-production"},"token":"eyJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJodHRwczovL2lkZW50aXR5dG9vbGtpdC5nb29nbGVhcGlzLmNvbS9nb29nbGUuaWRlbnRpdHkuaWRlbnRpdHl0b29sa2l0LnYxLklkZW50aXR5VG9vbGtpdCIsImNsYWltcyI6eyJvd25lcklkIjoiVm9Ea05aIiwiYWRtaW4iOmZhbHNlfSwiZXhwIjoxNzMzMjU4MDMzLCJpYXQiOjE3MzMyNTQ0MzMsImlzcyI6ImZpcmViYXNlLWFkbWluc2RrLThva3lsQGNvZGVwZW4tc3RvcmUtcHJvZHVjdGlvbi5pYW0uZ3NlcnZpY2VhY2NvdW50LmNvbSIsInN1YiI6ImZpcmViYXNlLWFkbWluc2RrLThva3lsQGNvZGVwZW4tc3RvcmUtcHJvZHVjdGlvbi5pYW0uZ3NlcnZpY2VhY2NvdW50LmNvbSIsInVpZCI6IlZvRGtOWiJ9.mxJ8scv8FuFvgQfA8kbC6c-H_rO2NN0dnlARLlFhbrihTrvdc2z-UJ6aCMb6JLk7nzkwCUbwi0Lyk3UwGv8loO8iElOXSDnhn8tFZLLawVWhjhSThRhpFdPH2X-WW_nU0Z5lYYA3y5J5sf4C--5wbtPE3FowUeJ3Ag3TzQSVFa87T7YrvkABRQI48iwM3gGPt1St3e5N6J7ktJadmozR0USmeY6yrfSAEuhzThYz9aOxQn076_wq-OHHgrq2VcAGBKATIdNr93XBeFU1DfquobCpFwKSIOeAU4zdIAun-WaH_30flEetVIhxIZC5dELi6usYHLUYDWe6y2EdpbgHFQ"},"__pay_stripe_public_key":"pk_live_2GndomDfiklqpSNQn8FrGuwZSMIMzha7DkLJqlYe7IR0ihKAlKdiHg68JJc5eVPt68rzAjzAAVXcUwjySHRCsgjQQ00gtRBUFNH","__pay_braintree_env":"production","__boomboom":{"serve_url":"https://cdpn.io/cpe/boomboom","store_url":"https://codepen.io/cpe/boomboom/store"},"__editor_config":{"id":"classic","editors":[{"id":"html","type":"html","name":"HTML","showEditor":true,"showSettings":true,"showProcessors":true,"embeds":{"showViewCompiled":true},"settings":[{"id":"processor","name":"HTML
Preprocessor","type":"select","visible":true,"values":[{"id":"none","name":"None","value":"none","default":true},{"id":"haml","name":"Haml","value":"haml"},{"id":"markdown","name":"Markdown","value":"markdown"},{"id":"slim","name":"Slim","value":"slim"},{"id":"pug","name":"Pug","value":"pug"}]},{"id":"html_classes","name":"Add
Class(es) to <html>","type":"input","placeholder":"e.g. single post
post-1234","visible":true},{"id":"head","name":"Stuff for
<head>","type":"textarea","placeholder":"e.g. <meta>, <link>,
<script>","visible":true}],"actions":[{"id":"tidy_html","type":"tidy_code","name":"Format
HTML","disabled_processors":["haml","slim"]},{"id":"view_compiled_html","type":"view_compiled","name":"View
Compiled
HTML","disabled_processors":["none"],"showInEmbeds":true},{"id":"analyze_html","type":"analyze","name":"Analyze
HTML"},{"id":"maximize_html_editor","type":"maximize","name":"Maximize HTML
Editor"},{"id":"minimize_html_editor","type":"minimize","name":"Minimize HTML
Editor"},{"id":"fold_all_html","type":"fold_all","name":"Fold
All"},{"id":"unfold_all_html","type":"unfold_all","name":"Unfold
All"}],"processors":[{"id":"none","name":"None"},{"id":"haml","name":"Haml"},{"id":"markdown","name":"Markdown"},{"id":"slim","name":"Slim"},{"id":"pug","name":"Pug"}]},{"id":"css","type":"css","name":"CSS","showEditor":true,"showSettings":true,"showProcessors":true,"showVendorPrefixing":true,"embeds":{"showViewCompiled":true},"actions":[{"id":"tidy_css","type":"tidy_code","name":"Format
CSS","disabled_processors":["sass","stylus"]},{"id":"view_compiled_css","type":"view_compiled","name":"View
Compiled
CSS","disabled_processors":["none"],"disabled_prefixes":["neither","prefixfree"]},{"id":"analyze_css","type":"analyze","name":"Analyze
CSS"},{"id":"maximize_css_editor","type":"maximize","name":"Maximize CSS
Editor"},{"id":"minimize_css_editor","type":"minimize","name":"Minimize CSS
Editor"},{"id":"fold_all_css","type":"fold_all","name":"Fold
All","disabled_processors":["sass"]},{"id":"unfold_all_css","type":"unfold_all","name":"Unfold
All","disabled_processors":["sass"]}],"processors":[{"id":"none","name":"None"},{"id":"less","name":"Less"},{"id":"scss","name":"SCSS"},{"id":"sass","name":"Sass"},{"id":"stylus","name":"Stylus"},{"id":"postcss","name":"PostCSS"}],"parSuffixes":["less","scss","sass","styl"]},{"id":"js","type":"js","name":"JS","showEditor":true,"showSettings":true,"showProcessors":true,"detectImports":true,"externalResourcesHidden":false,"embeds":{"showViewCompiled":true},"actions":[{"id":"tidy_js","type":"tidy_code","name":"Format
JavaScript","disabled_processors":["coffeescript,
livescript"]},{"id":"view_compiled_js","type":"view_compiled","name":"View
Compiled
JavaScript","disabled_processors":["none"]},{"id":"analyze_js","type":"analyze","name":"Analyze
JavaScript"},{"id":"maximize_js_editor","type":"maximize","name":"Maximize
JavaScript
Editor"},{"id":"minimize_js_editor","type":"minimize","name":"Minimize
JavaScript Editor"},{"id":"fold_all_js","type":"fold_all","name":"Fold
All"},{"id":"unfold_all_js","type":"unfold_all","name":"Unfold
All"}],"processors":[{"id":"none","name":"None"},{"id":"babel","name":"Babel"},{"id":"typescript","name":"TypeScript"},{"id":"coffeescript","name":"CoffeeScript"},{"id":"livescript","name":"LiveScript"}]}],"formatters":[{"id":"classic","name":"Classic","runOn":[{"eventType":"demand"}],"url":"https://fi593g2v2a.execute-api.us-west-2.amazonaws.com/production/format"}],"layout":{"default":"top"},"linters":[{"id":"classic","name":"Classic","runOn":[{"eventType":"demand"}],"url":"https://fi593g2v2a.execute-api.us-west-2.amazonaws.com/production/lint"}],"preview":{"intervalMaxWaitMS":3500,"intervalMS":1200},"settings":[{"id":"behavior","name":"Behavior","type":"setting"},{"id":"editor","name":"Editor","type":"setting"}]},"__item":"{\"editor_settings\":{\"auto_run\":true,\"autocomplete\":false,\"code_folding\":true,\"css_pre_processor\":\"none\",\"css_prefix\":\"neither\",\"css_starter\":\"neither\",\"emmet_active\":true,\"font_size\":14,\"font_type\":\"system\",\"format_on_save\":false,\"html_pre_processor\":\"none\",\"indent_with\":\"tabs\",\"js_pre_processor\":\"none\",\"key_bindings\":\"normal\",\"line_numbers\":true,\"line_wrapping\":true,\"match_brackets\":true,\"snippets\":{\"markupSnippets\":{},\"stylesheetSnippets\":{}},\"tab_size\":2,\"theme\":\"twilight\",\"id\":\"WNVPdJg\",\"auto_save\":true},\"hashid\":\"WNVPdJg\",\"itemType\":\"pen\",\"resources\":[],\"tags\":[\"css-gradients\"],\"id\":78074360,\"user_id\":2017,\"html\":\".card
I'm a card with an inner glow\",\"css\":\"@property --a { /* must register --a
to animate it */\\n\\tsyntax: '<angle>';\\n\\tinitial-value: 0deg;\\n\\t/* used
only on pseudo, nowhere to be inherited, \\n\\t * better perf if set false, see
\\n\\t *
https://www.bram.us/2024/10/03/benchmarking-the-performance-of-css-property/
*/\\n\\tinherits: false\\n}\\n\\n.card {\\n\\t/* hide outer part of glow
*/\\n\\toverflow: hidden;\\n\\t/* needed for absolutely positioned pseudo
*/\\n\\tposition: relative;\\n\\t/* adjust width as needed IF it's even
necessary to set */\\n\\twidth: Min(12.5em, 80vmin);\\n\\t/* adjust aspect-ratio
OR height IF height not given by content */\\n\\taspect-ratio: 1;\\n\\t/* round
outer card corners */\\n\\tborder-radius: .5em;\\n\\t\\n\\t/* text & layout
styles below just for prettifying */\\n\\tplace-self:
center;\\n\\tplace-content: center;\\n\\tpadding: .5em;\\n\\tcolor:
#ededed;\\n\\tfont: clamp(1em, 2vw + 2vh, 2em) sans-serif;\\n\\ttext-align:
center;\\n\\ttext-transform: uppercase;\\n\\ttext-wrap:
balance\\n}\\n\\n.card::before {\\n\\t/* grid doesn't work for stacking when a
stacked item is text node */\\n\\tposition: absolute;\\n\\t/* place behind card
content, so card text is selectable, etc */\\n\\tz-index: -1;\\n\\t/* best if
inset is at least half the border-width with minus */\\n\\tinset: -1em;\\n\\t/*
reserve space for border */\\n\\tborder: solid 1.25em;\\n\\tborder-image:
\\n\\t\\t/* adjust gradient as needed, I just used a random palette
*/\\n\\t\\tconic-gradient(from var(--a), #669900, #99cc33, #ccee66,
\\n\\t\\t\\t\\t#006699, #3399cc, #990066, #cc3399, \\n\\t\\t\\t\\t#ff6600,
#ff9900, #ffcc00, #669900) 1;\\n\\t/* blur this pseudo */\\n\\tfilter:
blur(.75em);\\n\\t/* tweak animation duration as necessary */\\n\\tanimation: a
4s linear infinite;\\n\\t/* needed so pseudo is displayed */\\n\\tcontent:
''\\n}\\n\\n/* animate --a from its initial-value 0deg to 1turn */\\n@keyframes
a { to { --a: 1turn } }\\n\\n\\n/* prettifying and layout stuff, not needed for
card glow part */\\nhtml, body, div { display: grid }\\n\\nhtml { min-height:
100% }\\n\\nbody {\\n\\tbackground: /* just to illustrate card transparency
*/\\n\\t\\turl(https://images.unsplash.com/photo-1729824346255-52a8f898fe84?w=1400)
\\n\\t\\t\\t50%/ cover #212121;\\n\\t/* darken image (multiplying its RGB
channels with \\n\\t * those of background-color) for better text contrast
*/\\n\\tbackground-blend-mode:
multiply\\n}\",\"js\":\"\",\"html_pre_processor\":\"pug\",\"css_pre_processor\":\"scss\",\"js_pre_processor\":\"none\",\"html_classes\":\"\",\"css_starter\":\"neither\",\"js_library\":null,\"created_at\":\"2024-11-13T05:44:52.526Z\",\"updated_at\":\"2024-11-19T19:50:51.109Z\",\"title\":\"Simplest
inner glow card animation\",\"description\":\"[My solution to a
question](https://www.reddit.com/r/css/comments/1gpzzgu/comment/lwvj967/) asked
on Reddit.\\n\\n---\\n\\nIf the work I've been putting out since early 2012 has
helped you in any way or you just like it and you wish me to be able to continue
putting out stuff, please consider one of the following:\\n\\n* being a cool cat
😼🎩 and becoming a patron on Patreon\\n\\n[![become a patron
button](https://assets.codepen.io/2017/btn_patreon.png)](https://www.patreon.com/anatudor)\\n\\n*
making a one time donation via
Ko-fi\\n\\n[![ko-fi](https://assets.codepen.io/2017/btn_kofi.svg)](https://ko-fi.com/anatudor)\\n\\n*
making a weekly anonymous donation via Liberapay
\\n\\n[![Liberapay](https://assets.codepen.io/2017/btn_liberapay.svg)](https://liberapay.com/anatudor/)\\n\\n*
getting me something off my Amazon WishList \\n\\n[🎁
🇺🇸](https://www.amazon.com/gp/registry/wishlist/2Y3C4722GXH0I/) / [🎁
🇬🇧](https://www.amazon.co.uk/gp/registry/wishlist/2I25W7U0KADSR/)\\n\\n* or at
least sharing this to show the world what can be done with CSS these
days\\n\\nThank
you!\",\"slug_hash\":\"WNVPdJg\",\"head\":\"\",\"private\":false,\"has_animation\":true,\"team_id\":0,\"css_prefix\":\"neither\",\"template\":false,\"parent_id\":0,\"comments_count\":0,\"custom_screenshot_filename\":null,\"loves_count\":0,\"pick\":false,\"popularity_score\":0,\"views_count\":0,\"pick_visible_at\":null,\"cpid\":\"0193240d-9e2e-784b-81a1-db33f8a0ece1\",\"is_new_editor_pen\":false,\"protected\":false,\"access\":\"Public\",\"pen_hash\":null}","__layoutType":"top","__pageType":"pen","__profiled":{"base_url":"/thebabydino","hashid":"ZRWdND","id":2017,"name":"Ana
Tudor","type":"user","username":"thebabydino"},"__processorsMap":{"autoprefixer":"autoprefixer-10","babel":"babel-7","coffeescript":"coffeescript-2","format-1":"format-1","flutter":"flutter-1","haml":"haml-4","less":"less-3","lint-1":"lint-1","livescript":"livescript-1","markdown":"markdown-11","postcss":"postcss-7","pug":"pug-2","sass":"sass-1","scss":"sass-1","sass-ruby-3":"sass-ruby-3","sass-ruby-compass-3":"sass-ruby-compass-3","slim":"slim-3","stylus":"stylus-0","typescript":"typescript-4","vue":"vue-2","vue3":"vue-3"},"__rtData":"{\"maxMembers\":0,\"roomID\":\"WNVPdJg/live\",\"roomType\":\"live\",\"updatedAt\":1732045851,\"user\":{\"id\":\"VoDkNZ\",\"hashid\":\"VoDkNZ\",\"name\":\"Captain
Anonymous\",\"username\":\"anon\",\"role\":\"editor\"}}","__eijs":"https://cpwebassets.codepen.io/assets/embed/ei.js","__favicon_mask_icon":"https://cpwebassets.codepen.io/assets/favicon/logo-pin-b4b4269c16397ad2f0f7a01bcdf513a1994f4c94b8af2f191c09eb0d601762b1.svg","__favicon_shortcut_icon":"https://cpwebassets.codepen.io/assets/favicon/favicon-aec34940fbc1a6e787974dcd360f2c6b63348d4b1f4e06c77743096d55480f33.ico","__path_to_iframe_console_runner":"https://cpwebassets.codepen.io/assets/editor/iframe/iframeConsoleRunner-6d8bf8b4b479137260842506acbb12717dace0823c023e08b96360e60b0840d9.js","__path_to_iframe_refresh_css":"https://cpwebassets.codepen.io/assets/editor/iframe/iframeRefreshCSS-44fe83e49b63affec96918c9af88c0d80b209a862cf87ac46bc933074b8c557d.js","__path_to_iframe_runtime_errors":"https://cpwebassets.codepen.io/assets/editor/iframe/iframeRuntimeErrors-4f205f2c14e769b448bcf477de2938c681660d5038bc464e3700256713ebe261.js","__path_to_processor_worker":"https://cpwebassets.codepen.io/assets/packs/router.js","__path_to_stop_execution_on_timeout":"https://cpwebassets.codepen.io/assets/common/stopExecutionOnTimeout-2c7831bb44f98c1391d6a4ffda0e1fd302503391ca806e7fcc7b9b87197aec26.js","__pen_normalize_css_url":"https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css","__pen_prefix_free_url":"https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js","__pen_reset_css_url":"https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css","__path_to_infinite_loop_detection":"https://cpwebassets.codepen.io/assets/packs/js/infiniteLoopDetection-07db07496998e6dde62c.js","__theme_url_twilight":"https://cpwebassets.codepen.io/assets/editor/themes/twilight-123214b13ed2699670d09785cc8ac3cbc46ebf6eeb43e268f0bb1a1e07c69684.css","__theme_url_solarized_dark":"https://cpwebassets.codepen.io/assets/editor/themes/solarized-dark-d43a116b1f697a65388ccbce17fd043503fb4efbda637ec527c132e4922363df.css","__theme_url_tomorrow_night":"https://cpwebassets.codepen.io/assets/editor/themes/tomorrow-night-07d231df49bc3226643da553850ddb116a6c6a781e5df9722a72fe8f7502c9f4.css","__theme_url_oceanic_dark":"https://cpwebassets.codepen.io/assets/editor/themes/oceanic-dark-621a64702c156e621f5efe415854c7dd2677995ce33bea43f1316c579e7e590c.css","__theme_url_panda":"https://cpwebassets.codepen.io/assets/editor/themes/panda-acb5d69c037209e4931264f7b3c6634f63b85cc9034cef0263f9a3c3b01b3512.css","__theme_url_duotone_dark":"https://cpwebassets.codepen.io/assets/editor/themes/duotone-dark-d28dad13112942a864c88c32a5dd5f7a172c09288a2f653e0545721ad4a2ce24.css","__theme_url_highcontrast_dark":"https://cpwebassets.codepen.io/assets/editor/themes/highcontrast-dark-f425686592da923b79e7aaab67bb8c72ee517d989ff13dfb02586480a6810ad6.css","__theme_url_classic":"https://cpwebassets.codepen.io/assets/editor/themes/classic-11a07298fe68d05065b0fe718ba52b0a413be15b705ec0903f296411e9beb8fe.css","__theme_url_solarized_light":"https://cpwebassets.codepen.io/assets/editor/themes/solarized-light-b894508db12d2ed9758567103f228457508073371f43dac488147fdc2c6804f2.css","__theme_url_xq_light":"https://cpwebassets.codepen.io/assets/editor/themes/xq-light-b05afff3f6c870548f0deb59f86a9dab5d738cf1c08ed68cb3e5ddd4e6646f3c.css","__theme_url_oceanic_light":"https://cpwebassets.codepen.io/assets/editor/themes/oceanic-light-d5eadde5bf576f5d1f7f3ca77446bb42284795f0fa87921dbd873b4c15f87d9d.css","__theme_url_mdn_like":"https://cpwebassets.codepen.io/assets/editor/themes/mdn-like-0357a6822344eafdc6a2bb884faeb494100f01f78e0e1260fd82952013c5a5d7.css","__theme_url_duotone_light":"https://cpwebassets.codepen.io/assets/editor/themes/duotone-light-f180c6ba88fe2e1f3539d466fec1ff32cae230743b226b6bf2c4cd808a680418.css","__theme_url_highcontrast_light":"https://cpwebassets.codepen.io/assets/editor/themes/highcontrast-light-08e7c2d4f904da3e1c5a899d1308e5254ef342cd55f8c0d8cff3e03f3fe4805a.css","__theme_url_scoped_twilight":"https://cpwebassets.codepen.io/assets/editor/themes/scoped/twilight-d85db5ce5557f08ce442656d7aa16b5974a72b21c8d2067bf9af0d1b01996c42.css","__theme_url_scoped_solarized_dark":"https://cpwebassets.codepen.io/assets/editor/themes/scoped/solarized-dark-e86c249b6a8ff3435d0f6e2e3430c9e8144ba6f56a4a83cf7732bc709589f2fa.css","__theme_url_scoped_tomorrow_night":"https://cpwebassets.codepen.io/assets/editor/themes/scoped/tomorrow-night-e8dca2482b7709ad653d8852a5aa807aa32520174dffde9bffcf67d9ffea1a48.css","__theme_url_scoped_oceanic_dark":"https://cpwebassets.codepen.io/assets/editor/themes/scoped/oceanic-dark-dee887234c86981be0f9d0cd42372174b8993f6b0150677d70f8aee2ee1e25ba.css","__theme_url_scoped_panda":"https://cpwebassets.codepen.io/assets/editor/themes/scoped/panda-001e5ede394495595d4a9fc877ca6ceaababd476a327643e4f23bfe0e56d95fc.css","__theme_url_scoped_duotone_dark":"https://cpwebassets.codepen.io/assets/editor/themes/scoped/duotone-dark-23047c555fcecf45c64a2d5b2dc7de5d4d8f310e7f9ce3af2a652d00f42e8022.css","__theme_url_scoped_highcontrast_dark":"https://cpwebassets.codepen.io/assets/editor/themes/scoped/highcontrast-dark-c6e2ab04bf9fabcb0dd621be735d4b9230742ab50a6f742319a40042cb4f2501.css","__theme_url_scoped_classic":"https://cpwebassets.codepen.io/assets/editor/themes/scoped/classic-4a710412a88d3175ed1cb987322f267c63221f8930caa6cc734c4d4d011086e0.css","__theme_url_scoped_solarized_light":"https://cpwebassets.codepen.io/assets/editor/themes/scoped/solarized-light-dbca780453a3986cc5f6ce1d48d2f9726cd90a3bba5ca2fb77e6f2990f18d04f.css","__theme_url_scoped_xq_light":"https://cpwebassets.codepen.io/assets/editor/themes/scoped/xq-light-52249a3d39079ad0d7d8de0d53faec42a889e10de1e7c50680da236fee71d196.css","__theme_url_scoped_oceanic_light":"https://cpwebassets.codepen.io/assets/editor/themes/scoped/oceanic-light-6d62c83deb8264fd49350ff90b276153cea8b07b0e0b96f8246d0463cff3758e.css","__theme_url_scoped_mdn_like":"https://cpwebassets.codepen.io/assets/editor/themes/scoped/mdn-like-807bd2b59220dc87bc4cd255c75c65615e2d53e3b7323ec3b04a097b726323a7.css","__theme_url_scoped_duotone_light":"https://cpwebassets.codepen.io/assets/editor/themes/scoped/duotone-light-010cf73ffe7cc2770ec4a8b71fbf4b841bfd7f4340fbff47367b29b82cbb4275.css","__theme_url_scoped_highcontrast_light":"https://cpwebassets.codepen.io/assets/editor/themes/scoped/highcontrast-light-069396bd84678a7eaf38d36390fe2f5c95144febb75616a2a069ad2a96c077d4.css"}