# Marko Denic Blog

Just another WordPress site

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## How to Center a Div in CSS (Horizontally and Vertically)

DevFeed: [How to Center a Div in CSS (Horizontally and Vertically)](<https://devfeed.tech/articles/how-to-center-a-div-in-css-horizontally-and-vertically-143994.md>)

Original publisher: [Read original article](<https://markodenic.com/center-a-div/>)

Author: Marko

Published: 2026-11-19T09:00:00Z

Content type: article

Language: en

Sources: [Marko Denic Blog](<https://devfeed.tech/sources/marko-denic-blog.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>)

Tags: [absolute](<https://devfeed.tech/tags/absolute.md>), [align](<https://devfeed.tech/tags/align.md>), [alignment](<https://devfeed.tech/tags/alignment.md>), [axis](<https://devfeed.tech/tags/axis.md>), [block](<https://devfeed.tech/tags/block.md>), [browsers](<https://devfeed.tech/tags/browsers.md>), [button](<https://devfeed.tech/tags/button.md>), [centering](<https://devfeed.tech/tags/centering.md>), [chrome](<https://devfeed.tech/tags/chrome.md>), [css](<https://devfeed.tech/tags/css.md>), [css-flexbox](<https://devfeed.tech/tags/css-flexbox.md>), [fail](<https://devfeed.tech/tags/fail.md>), [flexbox](<https://devfeed.tech/tags/flexbox.md>), [grid](<https://devfeed.tech/tags/grid.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [images](<https://devfeed.tech/tags/images.md>), [margin](<https://devfeed.tech/tags/margin.md>), [positioning](<https://devfeed.tech/tags/positioning.md>), [text](<https://devfeed.tech/tags/text.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [vertical](<https://devfeed.tech/tags/vertical.md>)

### AI overview

To center a div horizontally and vertically, set its parent to `display: grid; place-items: center` and give it height; flexbox with `justify-content` and `align-items` also works. For horizontal centering in normal flow, give a block a width or max-width and use `margin-inline: auto`. In flex or grid, auto margins center in both directions and keep oversized children scrollable, unlike `align-items: center`. Absolute positioning suits overlays: translate from the midpoint for unknown dimensions, or use `inset: 0` and auto margins when dimensions are known. `align-content: center` vertically centers regular block content in the browser versions listed in the text. `text-align` centers inline content, not block boxes; `vertical-align` does not affect a regular div. The supplied text also shows two ways to center images: parent text alignment or making the image a block with auto side margins.

### Source excerpt

Every way to center a div in CSS: flexbox, grid, margin auto, absolute positioning, text and images, plus why vertical-align and text-align often fail.

## CSS Reset: A Modern Reset, Explained Line by Line

DevFeed: [CSS Reset: A Modern Reset, Explained Line by Line](<https://devfeed.tech/articles/css-reset-a-modern-reset-explained-line-by-line-140892.md>)

Original publisher: [Read original article](<https://markodenic.com/css-reset/>)

Author: Marko

Published: 2026-11-18T17:00:00Z

Content type: tutorial

Language: en

Sources: [Marko Denic Blog](<https://devfeed.tech/sources/marko-denic-blog.md>)

Topics: [CSS Resets](<https://devfeed.tech/topics/css-reset.md>), [CSS](<https://devfeed.tech/topics/css.md>)

Tags: [box](<https://devfeed.tech/tags/box.md>), [cascade](<https://devfeed.tech/tags/cascade.md>), [css](<https://devfeed.tech/tags/css.md>), [fonts](<https://devfeed.tech/tags/fonts.md>), [form](<https://devfeed.tech/tags/form.md>), [images](<https://devfeed.tech/tags/images.md>), [layer](<https://devfeed.tech/tags/layer.md>), [margins](<https://devfeed.tech/tags/margins.md>), [modern](<https://devfeed.tech/tags/modern.md>), [motion](<https://devfeed.tech/tags/motion.md>), [reset](<https://devfeed.tech/tags/reset.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

### AI overview

The excerpt presents a compact CSS reset that targets common layout and consistency problems while retaining browser defaults such as heading sizes and ordinary list bullets. It applies border-box sizing, removes selected margins, sets readable line heights, prevents text and media overflow, makes form controls inherit page fonts, and reduces motion for users who request it. It limits bullet removal to lists marked role="list" to address Safari VoiceOver behavior, and notes that block-level media may need inline styling for icons. Placing the reset in a cascade layer lets unlayered author styles override it regardless of specificity; browsers without layer support ignore the block and use browser defaults. The article contrasts this approach with classic resets, which remove nearly all defaults, and normalize.css, which chiefly aims for cross-browser consistency.

### Source excerpt

A modern CSS reset you can copy, with every rule explained: box-sizing, margins, images, form fonts, reduced motion, and why it lives in a cascade layer.

## CSS z-index Not Working? How Stacking Context Works

DevFeed: [CSS z-index Not Working? How Stacking Context Works](<https://devfeed.tech/articles/css-z-index-not-working-how-stacking-context-works-140893.md>)

Original publisher: [Read original article](<https://markodenic.com/css-z-index/>)

Author: Marko

Published: 2026-11-18T09:00:00Z

Content type: article

Language: en

Sources: [Marko Denic Blog](<https://devfeed.tech/sources/marko-denic-blog.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>)

Tags: [absolute](<https://devfeed.tech/tags/absolute.md>), [animation](<https://devfeed.tech/tags/animation.md>), [background](<https://devfeed.tech/tags/background.md>), [chrome](<https://devfeed.tech/tags/chrome.md>), [clip-path](<https://devfeed.tech/tags/clip-path.md>), [console](<https://devfeed.tech/tags/console.md>), [css](<https://devfeed.tech/tags/css.md>), [dialog](<https://devfeed.tech/tags/dialog.md>), [filter](<https://devfeed.tech/tags/filter.md>), [fixed](<https://devfeed.tech/tags/fixed.md>), [flex](<https://devfeed.tech/tags/flex.md>), [grid](<https://devfeed.tech/tags/grid.md>), [html](<https://devfeed.tech/tags/html.md>), [isolation](<https://devfeed.tech/tags/isolation.md>), [scale](<https://devfeed.tech/tags/scale.md>), [stacking-context](<https://devfeed.tech/tags/stacking-context.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [z-index](<https://devfeed.tech/tags/z-index.md>)

### AI overview

`z-index` only orders elements within the same stacking context. On ordinary elements it requires a non-static `position`; flex and grid items are exceptions. If a value still has no effect, check ancestors for context triggers such as `transform`, `opacity` below 1, `filter`, or positioned elements with a non-auto `z-index`. Fixes include raising the ancestor, removing an unnecessary trigger, or moving a dropdown or modal outside the trapped parent; a `<dialog>` opened with `showModal()` uses the top layer. The article also recommends `isolation: isolate` to contain component-level and negative `z-index` values, and named layer variables instead of escalating arbitrary numbers. Its ancestor-inspection console function covers common triggers, not every trigger.

### Source excerpt

Why z-index doesn't work and how to fix it: positioned elements, stacking contexts, isolation: isolate, and a z-index scale you can keep under control.

## Big O Cheat Sheet: Time Complexity Chart with JavaScript

DevFeed: [Big O Cheat Sheet: Time Complexity Chart with JavaScript](<https://devfeed.tech/articles/big-o-cheat-sheet-time-complexity-chart-with-javascript-136425.md>)

Original publisher: [Read original article](<https://markodenic.com/big-o-cheat-sheet/>)

Author: Marko

Published: 2026-11-16T09:00:00Z

Content type: article

Language: en

Sources: [Marko Denic Blog](<https://devfeed.tech/sources/marko-denic-blog.md>)

Topics: [Cheat sheet](<https://devfeed.tech/topics/cheatsheet.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [algorithms](<https://devfeed.tech/tags/algorithms.md>), [array](<https://devfeed.tech/tags/array.md>), [big-o-notation](<https://devfeed.tech/tags/big-o-notation.md>), [binary-search](<https://devfeed.tech/tags/binary-search.md>), [cheat-sheet](<https://devfeed.tech/tags/cheat-sheet.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [map](<https://devfeed.tech/tags/map.md>), [set](<https://devfeed.tech/tags/set.md>), [sorting](<https://devfeed.tech/tags/sorting.md>), [time-complexity](<https://devfeed.tech/tags/time-complexity.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

### AI overview

Big O describes how algorithm work grows with input size, rather than elapsed time; it usually refers to worst-case cost, and drops constants and lower-order terms. The excerpt explains common rates from O(1) through O(n!), using examples such as binary search on sorted data, linear array scans, and quadratic pair checking. It contrasts a quadratic duplicate check with a Set-based approach that is O(n) on average. JavaScript operation costs are presented as typical for modern engines, not specified by ECMAScript; Map and Set are required to provide average sublinear access, while O(1) is typical in practice. Array push is amortized O(1), shift is O(n), and repeated includes lookups may be replaced by Set lookups. The text also notes that sort without a comparator orders values as strings, stable sorting is required since ES2019, and Big O alone may not predict speed on small inputs.

### Source excerpt

Big O notation cheat sheet: common time complexities with JavaScript examples, a growth chart, the cost of array, Map and Set operations, and sorting.

## Not Equal Sign (≠, !=, !==): Meaning and How to Type It

DevFeed: [Not Equal Sign (≠, !=, !==): Meaning and How to Type It](<https://devfeed.tech/articles/not-equal-sign-meaning-and-how-to-type-it-134492.md>)

Original publisher: [Read original article](<https://markodenic.com/not-equal-sign/>)

Author: Marko

Published: 2026-11-15T09:00:00Z

Content type: article

Language: en

Sources: [Marko Denic Blog](<https://devfeed.tech/sources/marko-denic-blog.md>)

Topics: [type coercion](<https://devfeed.tech/topics/type-coercion.md>), [equals](<https://devfeed.tech/topics/equals.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [excel](<https://devfeed.tech/tags/excel.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [linux](<https://devfeed.tech/tags/linux.md>), [mac](<https://devfeed.tech/tags/mac.md>), [math](<https://devfeed.tech/tags/math.md>), [meaning](<https://devfeed.tech/tags/meaning.md>), [python](<https://devfeed.tech/tags/python.md>), [sign](<https://devfeed.tech/tags/sign.md>), [sql](<https://devfeed.tech/tags/sql.md>), [type](<https://devfeed.tech/tags/type.md>), [web-development](<https://devfeed.tech/tags/web-development.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

The mathematical not-equal symbol is ≠; common code and spreadsheet spellings vary by language. In JavaScript, `!=` converts values before comparison, so `5 != '5'` is false, while `!==` compares without conversion and returns true; the excerpt recommends `!==` by default. `NaN` is not equal to itself, and arrays or objects compare by reference. Python's `!=` does not convert types. SQL standardizes on `<>`, though several named databases also accept `!=`; comparisons with NULL yield unknown, so `WHERE x <> value` omits NULL rows unless they are handled explicitly or `IS DISTINCT FROM` is supported. Excel uses `<>`. The excerpt gives platform-specific ways to enter ≠, including Mac `Option`+`=`, Windows' symbol panel, and Linux's Unicode input sequence, with layout and app limitations noted.

### Source excerpt

The not equal sign ≠ in math and != or !== in code: what each means, JavaScript examples, Python, SQL and Excel, and how to type ≠ on Mac, Windows and Linux.

## var vs let vs const in JavaScript: What's the Difference?

DevFeed: [var vs let vs const in JavaScript: What's the Difference?](<https://devfeed.tech/articles/var-vs-let-vs-const-in-javascript-what-s-the-difference-134211.md>)

Original publisher: [Read original article](<https://markodenic.com/var-let-const/>)

Author: Marko

Published: 2026-11-14T17:00:00Z

Content type: article

Language: en

Sources: [Marko Denic Blog](<https://devfeed.tech/sources/marko-denic-blog.md>)

Topics: [JavaScript](<https://devfeed.tech/topics/javascript.md>)

Tags: [javascript](<https://devfeed.tech/tags/javascript.md>), [let](<https://devfeed.tech/tags/let.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [var](<https://devfeed.tech/tags/var.md>)

### AI overview

Use `const` by default, `let` when reassignment is needed, and avoid `var` in new code. `var` is function-scoped, permits redeclaration, and is initialized to `undefined` when hoisted; `let` and `const` are block-scoped, reject redeclaration, and throw a `ReferenceError` if accessed before their declaration. In loops, `let` creates a fresh binding per iteration, avoiding the shared-value behavior closures can exhibit with `var`. `const` prevents reassignment but does not make objects or arrays immutable; `Object.freeze()` is shallow. Use `let` for incremented `for` loop counters and `const` for `for...of` and `for...in`. The text says `var` remains supported, and the keyword choice has no noticeable speed difference.

### Source excerpt

var vs let vs const in JavaScript: scope, hoisting, the temporal dead zone, redeclaring and reassigning, and a simple rule for which one to use.

## What Is Coding? A Plain-English Guide for Beginners

DevFeed: [What Is Coding? A Plain-English Guide for Beginners](<https://devfeed.tech/articles/what-is-coding-a-plain-english-guide-for-beginners-134212.md>)

Original publisher: [Read original article](<https://markodenic.com/what-is-coding/>)

Author: Marko

Published: 2026-11-14T09:00:00Z

Content type: article

Language: en

Sources: [Marko Denic Blog](<https://devfeed.tech/sources/marko-denic-blog.md>)

Topics: [learn programming](<https://devfeed.tech/topics/learn-programming.md>), [Programming language](<https://devfeed.tech/topics/programming-language.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [Python](<https://devfeed.tech/topics/python.md>)

Tags: [beginners](<https://devfeed.tech/tags/beginners.md>), [browser](<https://devfeed.tech/tags/browser.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [career](<https://devfeed.tech/tags/career.md>), [code](<https://devfeed.tech/tags/code.md>), [coding](<https://devfeed.tech/tags/coding.md>), [css](<https://devfeed.tech/tags/css.md>), [data](<https://devfeed.tech/tags/data.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [development](<https://devfeed.tech/tags/development.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [english](<https://devfeed.tech/tags/english.md>), [example](<https://devfeed.tech/tags/example.md>), [guide](<https://devfeed.tech/tags/guide.md>), [programming](<https://devfeed.tech/tags/programming.md>), [run](<https://devfeed.tech/tags/run.md>), [tiny](<https://devfeed.tech/tags/tiny.md>), [web-development](<https://devfeed.tech/tags/web-development.md>)

### AI overview

Coding means writing precise instructions in a language a computer can run; even a short JavaScript example shows how values and loops combine to produce a result. In everyday use, "coding" and "programming" are mostly interchangeable, though programming can refer to the broader process of planning, testing, and maintaining software. Developers spend substantial time reading existing code, clarifying requests, debugging, testing, looking up documentation, and working with others. To start, choose a goal first: web development points to HTML, CSS, and JavaScript, while data or spreadsheet automation often points to Python. Use free learning material, build small projects early, practice debugging, and keep at it for weeks. The article cautions that learning to code does not guarantee a job or salary; outcomes depend on factors including location, market, and demonstrated work.

### Source excerpt

What coding means in plain English, a tiny real example you can run, coding vs programming, what coders actually do all day and an honest way to start.

## HTTP Methods: GET, POST, PUT, PATCH and DELETE Explained

DevFeed: [HTTP Methods: GET, POST, PUT, PATCH and DELETE Explained](<https://devfeed.tech/articles/http-methods-get-post-put-patch-and-delete-explained-131779.md>)

Original publisher: [Read original article](<https://markodenic.com/http-methods/>)

Author: Marko

Published: 2026-11-13T09:00:00Z

Content type: article

Language: en

Sources: [Marko Denic Blog](<https://devfeed.tech/sources/marko-denic-blog.md>)

Topics: [HTTP](<https://devfeed.tech/topics/http.md>), [Cross-origin resource sharing (CORS)](<https://devfeed.tech/topics/cors.md>), [CRUD](<https://devfeed.tech/topics/crud.md>), [fetch](<https://devfeed.tech/topics/fetch.md>)

Tags: [cors](<https://devfeed.tech/tags/cors.md>), [delete](<https://devfeed.tech/tags/delete.md>), [examples](<https://devfeed.tech/tags/examples.md>), [fetch](<https://devfeed.tech/tags/fetch.md>), [http](<https://devfeed.tech/tags/http.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [patch](<https://devfeed.tech/tags/patch.md>), [post](<https://devfeed.tech/tags/post.md>), [safe](<https://devfeed.tech/tags/safe.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [vs](<https://devfeed.tech/tags/vs.md>), [web-development](<https://devfeed.tech/tags/web-development.md>)

### AI overview

HTTP methods express the intended operation and affect whether requests can be safely repeated and whether browsers preflight cross-origin calls. GET reads data; POST creates a resource or triggers an action and may create duplicates when retried. PUT replaces the full resource, so omitted fields are removed; PATCH changes only specified fields, though repeatability depends on the patch operation. DELETE and PUT are idempotent in intended server state, even when repeated responses differ. HEAD returns GET headers without a body, and OPTIONS asks what the server allows. For cross-origin calls, browsers skip preflight only for simple GET, HEAD, or POST requests with allowed content types and no custom headers; PUT, PATCH, DELETE, and JSON POST require OPTIONS approval with suitable CORS headers. The text also notes that fetch() does not reject on HTTP error statuses, so callers should check response.ok, and recommends uppercase PATCH.

### Source excerpt

What each HTTP request method does, which ones are safe and idempotent, PUT vs PATCH vs POST, fetch() examples, and when CORS sends a preflight.

## CSS aspect-ratio: Responsive Boxes, Images and Videos

DevFeed: [CSS aspect-ratio: Responsive Boxes, Images and Videos](<https://devfeed.tech/articles/css-aspect-ratio-responsive-boxes-images-and-videos-130904.md>)

Original publisher: [Read original article](<https://markodenic.com/css-aspect-ratio/>)

Author: Marko

Published: 2026-11-12T09:00:00Z

Content type: article

Language: en

Sources: [Marko Denic Blog](<https://devfeed.tech/sources/marko-denic-blog.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [Responsive Design](<https://devfeed.tech/topics/responsive-design.md>), [Image](<https://devfeed.tech/topics/image.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [performance-optimization](<https://devfeed.tech/topics/performance-optimization.md>)

Tags: [absolute](<https://devfeed.tech/tags/absolute.md>), [ads](<https://devfeed.tech/tags/ads.md>), [aspect](<https://devfeed.tech/tags/aspect.md>), [auto-fill](<https://devfeed.tech/tags/auto-fill.md>), [avatar](<https://devfeed.tech/tags/avatar.md>), [background](<https://devfeed.tech/tags/background.md>), [border-radius](<https://devfeed.tech/tags/border-radius.md>), [css](<https://devfeed.tech/tags/css.md>), [hack](<https://devfeed.tech/tags/hack.md>), [images](<https://devfeed.tech/tags/images.md>), [images-and-videos](<https://devfeed.tech/tags/images-and-videos.md>), [layout](<https://devfeed.tech/tags/layout.md>), [object-fit](<https://devfeed.tech/tags/object-fit.md>), [padding](<https://devfeed.tech/tags/padding.md>), [property](<https://devfeed.tech/tags/property.md>), [ratio](<https://devfeed.tech/tags/ratio.md>), [responsive](<https://devfeed.tech/tags/responsive.md>), [shift](<https://devfeed.tech/tags/shift.md>), [square](<https://devfeed.tech/tags/square.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [videos](<https://devfeed.tech/tags/videos.md>), [web-development](<https://devfeed.tech/tags/web-development.md>)

### AI overview

CSS `aspect-ratio` sets a preferred width-to-height proportion, letting the browser calculate a dimension when one is `auto`. The excerpt shows using `width: 100%` with `aspect-ratio: 16 / 9` for responsive video embeds, and `object-fit: cover` to crop images into consistent square or card-shaped boxes. Image `width` and `height` attributes let browsers reserve space before loading; CSS can then scale images responsively. Ratios can appear overridden when both dimensions are fixed, content forces a box taller, flex or grid stretching sets the height, or the element is inline. The excerpt suggests making a dimension automatic, setting `min-height: 0` and overflow for text boxes, or aligning flex and grid items to the start.

### Source excerpt

How the CSS aspect-ratio property works: responsive 16:9 videos without the padding hack, square and portrait images with object-fit, avoiding layout shift, and why aspect-ratio sometimes seems ignored.

## HTML mailto and tel Links: Email and Phone Links Explained

DevFeed: [HTML mailto and tel Links: Email and Phone Links Explained](<https://devfeed.tech/articles/html-mailto-and-tel-links-email-and-phone-links-explained-129114.md>)

Original publisher: [Read original article](<https://markodenic.com/mailto-link/>)

Author: Marko

Published: 2026-11-11T09:00:00Z

Content type: article

Language: en

Sources: [Marko Denic Blog](<https://devfeed.tech/sources/marko-denic-blog.md>)

Topics: [email](<https://devfeed.tech/topics/email.md>), [HTML](<https://devfeed.tech/topics/html.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [app](<https://devfeed.tech/tags/app.md>), [apps](<https://devfeed.tech/tags/apps.md>), [archive](<https://devfeed.tech/tags/archive.md>), [automatically](<https://devfeed.tech/tags/automatically.md>), [bcc](<https://devfeed.tech/tags/bcc.md>), [body](<https://devfeed.tech/tags/body.md>), [browser](<https://devfeed.tech/tags/browser.md>), [browsers](<https://devfeed.tech/tags/browsers.md>), [call](<https://devfeed.tech/tags/call.md>), [cc](<https://devfeed.tech/tags/cc.md>), [click](<https://devfeed.tech/tags/click.md>), [email](<https://devfeed.tech/tags/email.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [html](<https://devfeed.tech/tags/html.md>), [links](<https://devfeed.tech/tags/links.md>), [phone](<https://devfeed.tech/tags/phone.md>), [sms](<https://devfeed.tech/tags/sms.md>), [sms-and-whatsapp](<https://devfeed.tech/tags/sms-and-whatsapp.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [web-development](<https://devfeed.tech/tags/web-development.md>), [whatsapp](<https://devfeed.tech/tags/whatsapp.md>)

### AI overview

HTML mailto links can prefill recipients, subject, body, CC, and BCC; separate parameters with `&`, encode spaces as `%20` and line breaks as `%0D%0A`, and use `encodeURIComponent` for JavaScript values because `URLSearchParams` may leave literal plus signs in email apps. A mailto link may do nothing when no default email app is configured, so show the address for copying. Use international-format numbers in tel links; desktop devices open a calling app if available. SMS message separators vary by platform, with `?body=` described as widely supported. WhatsApp `wa.me` links use an international number without `+` or separators. The text also recommends visible phone numbers, tap targets at least 44 x 44 pixels, disabling Safari's automatic phone detection when needed, and using a dedicated public email or contact form because addresses in HTML can be collected by bots.

### Source excerpt

Create mailto links with a subject, body, CC and BCC, click-to-call tel links, SMS and WhatsApp links. Plus how to encode them correctly, and what to do when no email app opens.

## CSS linear-gradient(): Syntax, Angles and Examples

DevFeed: [CSS linear-gradient(): Syntax, Angles and Examples](<https://devfeed.tech/articles/css-linear-gradient-syntax-angles-and-examples-127063.md>)

Original publisher: [Read original article](<https://markodenic.com/css-linear-gradient/>)

Author: Marko

Published: 2026-11-10T17:00:00Z

Content type: article

Language: en

Sources: [Marko Denic Blog](<https://devfeed.tech/sources/marko-denic-blog.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [web animation](<https://devfeed.tech/topics/web-animation.md>), [color](<https://devfeed.tech/topics/color.md>)

Tags: [after](<https://devfeed.tech/tags/after.md>), [all](<https://devfeed.tech/tags/all.md>), [alpha](<https://devfeed.tech/tags/alpha.md>), [animate](<https://devfeed.tech/tags/animate.md>), [animation](<https://devfeed.tech/tags/animation.md>), [avoid](<https://devfeed.tech/tags/avoid.md>), [background](<https://devfeed.tech/tags/background.md>), [background-image](<https://devfeed.tech/tags/background-image.md>), [blending](<https://devfeed.tech/tags/blending.md>), [body](<https://devfeed.tech/tags/body.md>), [color](<https://devfeed.tech/tags/color.md>), [colors](<https://devfeed.tech/tags/colors.md>), [css](<https://devfeed.tech/tags/css.md>), [examples](<https://devfeed.tech/tags/examples.md>), [gradient](<https://devfeed.tech/tags/gradient.md>), [linear](<https://devfeed.tech/tags/linear.md>), [syntax](<https://devfeed.tech/tags/syntax.md>), [text](<https://devfeed.tech/tags/text.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [with](<https://devfeed.tech/tags/with.md>), [works](<https://devfeed.tech/tags/works.md>)

### AI overview

CSS `linear-gradient()` creates an image that blends at least two color stops along a straight line, so apply it with `background` or `background-image`. Its default direction is top to bottom; `to` keywords target directions or corners, while clockwise angles give a fixed slant. Stop positions control blends and can create sharp edges or solid bands. The text recommends `oklch` for brighter blends between distant hues, with a plain gradient first as a fallback for older browsers. Examples show layered gradients for photo overlays, background clipping for gradient text, and two backgrounds for rounded gradient borders because `border-image` drops rounded corners. `background-image` cannot be transitioned directly; the animated example registers an angle custom property with `@property` and transitions that instead.

### Source excerpt

How CSS linear-gradient() works: directions and angles, color stops, hard stops, smoother colors with oklch, gradient text, overlays and animated gradients.

## CSS Underline: Style, Offset, Thickness and Remove It

DevFeed: [CSS Underline: Style, Offset, Thickness and Remove It](<https://devfeed.tech/articles/css-underline-style-offset-thickness-and-remove-it-127064.md>)

Original publisher: [Read original article](<https://markodenic.com/css-underline/>)

Author: Marko

Published: 2026-11-10T09:00:00Z

Content type: article

Language: en

Sources: [Marko Denic Blog](<https://devfeed.tech/sources/marko-denic-blog.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [web animation](<https://devfeed.tech/topics/web-animation.md>)

Tags: [animate](<https://devfeed.tech/tags/animate.md>), [color](<https://devfeed.tech/tags/color.md>), [css](<https://devfeed.tech/tags/css.md>), [links](<https://devfeed.tech/tags/links.md>), [text](<https://devfeed.tech/tags/text.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [web-development](<https://devfeed.tech/tags/web-development.md>)

### AI overview

CSS `text-decoration` can set an underline's color, thickness and style, while `text-underline-offset` controls its distance from the text. The excerpt recommends keeping underlines on links in running text for visibility, while removing them in contexts such as navigation, buttons and cards. For animated links that wrap across lines, it shows a gradient whose background size expands on hover; an `::after` line offers more control, such as growing from the center, but is limited to single-line links. It also notes that parent decorations may need to be removed at the parent element.

### Source excerpt

Style underlines with CSS: change the color, thickness, style and distance, remove the underline from links, and build animated hover underlines that work on multi-line text.

## 17 Business Ideas for Web Developers

DevFeed: [17 Business Ideas for Web Developers](<https://devfeed.tech/articles/17-business-ideas-for-web-developers-124790.md>)

Original publisher: [Read original article](<https://markodenic.com/business-ideas-for-web-developers/>)

Author: Marko

Published: 2026-11-09T20:43:09Z

Content type: article

Language: en

Sources: [Marko Denic Blog](<https://devfeed.tech/sources/marko-denic-blog.md>)

Topics: [Business, Industry, Usability, User Experience, User Research, Web Strategy](<https://devfeed.tech/topics/business-industry-usability-user-experience-user-research-web-strategy.md>), [workflow automation](<https://devfeed.tech/topics/workflow-automation.md>), [MSP MCP](<https://devfeed.tech/topics/msp-mcp.md>), [Core Web Vitals](<https://devfeed.tech/topics/core-web-vitals.md>), [WordPress](<https://devfeed.tech/topics/wordpress.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [Web](<https://devfeed.tech/topics/web.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-automation](<https://devfeed.tech/tags/ai-automation.md>), [automation](<https://devfeed.tech/tags/automation.md>), [business](<https://devfeed.tech/tags/business.md>), [career](<https://devfeed.tech/tags/career.md>), [developers](<https://devfeed.tech/tags/developers.md>), [ideas](<https://devfeed.tech/tags/ideas.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [mcp-servers](<https://devfeed.tech/tags/mcp-servers.md>), [plugins](<https://devfeed.tech/tags/plugins.md>), [saas](<https://devfeed.tech/tags/saas.md>), [templates](<https://devfeed.tech/tags/templates.md>), [web](<https://devfeed.tech/tags/web.md>), [web-developers](<https://devfeed.tech/tags/web-developers.md>), [wordpress](<https://devfeed.tech/tags/wordpress.md>), [wordpress-plugins](<https://devfeed.tech/tags/wordpress-plugins.md>)

### AI overview

The article's central advice is to choose a clear offer and find paying customers before investing heavily in a product. It organizes 17 options by how quickly they may earn: services such as website care plans, fixed-scope development, performance fixes, AI workflow automation, MCP integrations, code reviews and mentoring; products such as niche micro-SaaS, WordPress plugins, templates, browser extensions, free search tools and small apps; and slower audience-based work such as writing, digital products, newsletters and open-source sponsorships. It gives starting steps and possible customer channels for each. Practical guidance includes talking to prospective customers before building, charging from day one, and choosing a market problem rather than a technology. It notes that services can provide earlier, more reliable income while products can scale, and that AI automation work requires care about where client data goes. Advice also flags employment-contract ownership clauses for side projects and says business registration requirements vary by country.

### Source excerpt

17 business ideas for web developers: care plans, AI automation, MCP servers, micro-SaaS, WordPress plugins, templates and more, with how to start each one.

## How to Make a Triangle in CSS (3 Ways)

DevFeed: [How to Make a Triangle in CSS (3 Ways)](<https://devfeed.tech/articles/how-to-make-a-triangle-in-css-3-ways-122992.md>)

Original publisher: [Read original article](<https://markodenic.com/css-triangle/>)

Author: Marko

Published: 2026-11-09T09:00:00Z

Content type: tutorial

Language: en

Sources: [Marko Denic Blog](<https://devfeed.tech/sources/marko-denic-blog.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [arrow](<https://devfeed.tech/tags/arrow.md>), [border](<https://devfeed.tech/tags/border.md>), [clip-path](<https://devfeed.tech/tags/clip-path.md>), [css](<https://devfeed.tech/tags/css.md>), [gradient](<https://devfeed.tech/tags/gradient.md>), [speech](<https://devfeed.tech/tags/speech.md>), [svg](<https://devfeed.tech/tags/svg.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [web-development](<https://devfeed.tech/tags/web-development.md>)

### AI overview

Use `clip-path` as the general-purpose CSS triangle method: define a box and cut it with a three-point `polygon()`. Changing the points makes triangles point in different directions; `aspect-ratio: 1 / 0.866` gives an equilateral triangle. For small, solid-color tooltip or dropdown arrows, the border trick makes a triangle from a zero-sized box with one colored border and adjacent transparent borders; the triangle points away from the colored side. A rotated square can provide an arrow with a real border or shadow, while a hard-stop linear gradient creates a right-triangle background decoration. `clip-path` and the border trick do not retain a triangle border; for that, the excerpt suggests stacking triangles, using a rotated square, or using SVG. For a shadow that follows the visible shape, use `filter: drop-shadow()` rather than `box-shadow`. The excerpt recommends SVG for icons and complex shapes.

### Source excerpt

Make triangles in pure CSS with clip-path, the classic border trick, or gradients. Triangles pointing in every direction, equilateral triangles, and tooltip and dropdown arrows.

## ease-in vs ease-out vs ease-in-out: CSS Easing Explained

DevFeed: [ease-in vs ease-out vs ease-in-out: CSS Easing Explained](<https://devfeed.tech/articles/ease-in-vs-ease-out-vs-ease-in-out-css-easing-explained-122429.md>)

Original publisher: [Read original article](<https://markodenic.com/ease-in-vs-ease-out/>)

Author: Marko

Published: 2026-11-08T09:00:00Z

Content type: article

Language: en

Sources: [Marko Denic Blog](<https://devfeed.tech/sources/marko-denic-blog.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [web animation](<https://devfeed.tech/topics/web-animation.md>)

Tags: [animation](<https://devfeed.tech/tags/animation.md>), [animations](<https://devfeed.tech/tags/animations.md>), [api](<https://devfeed.tech/tags/api.md>), [bounce](<https://devfeed.tech/tags/bounce.md>), [css](<https://devfeed.tech/tags/css.md>), [cubic-bezier](<https://devfeed.tech/tags/cubic-bezier.md>), [custom](<https://devfeed.tech/tags/custom.md>), [demo](<https://devfeed.tech/tags/demo.md>), [ease](<https://devfeed.tech/tags/ease.md>), [easing](<https://devfeed.tech/tags/easing.md>), [function](<https://devfeed.tech/tags/function.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [linear](<https://devfeed.tech/tags/linear.md>), [motion](<https://devfeed.tech/tags/motion.md>), [physics](<https://devfeed.tech/tags/physics.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [web-development](<https://devfeed.tech/tags/web-development.md>)

### AI overview

CSS easing controls how animation speed changes over time. The text recommends `ease-out` for entering UI elements, `ease-in` for short exits, `ease-in-out` for visible elements moving between positions, and `linear` for constant motion such as spinners; linear movement that starts and stops can look mechanical. Custom `cubic-bezier()` curves can alter the feel or overshoot, while `steps(n)` creates frame-by-frame motion and `linear()` can approximate spring-like bounces. Suggested interface durations range from 100-200 ms for small changes to 250-400 ms for modals, with exits shorter than entrances; the text also advises honoring `prefers-reduced-motion` and animating transform and opacity for smoothness.

### Source excerpt

The difference between ease, ease-in, ease-out, ease-in-out and linear in CSS, with a live demo, when to use each one, custom cubic-bezier() curves, steps() and the new linear() function.

## EmDash CMS Tutorial: Build Your First Site

DevFeed: [EmDash CMS Tutorial: Build Your First Site](<https://devfeed.tech/articles/emdash-cms-tutorial-build-your-first-site-122430.md>)

Original publisher: [Read original article](<https://markodenic.com/emdash-cms/>)

Author: Marko

Published: 2026-11-07T17:21:42Z

Content type: tutorial

Language: en

Sources: [Marko Denic Blog](<https://devfeed.tech/sources/marko-denic-blog.md>)

Topics: [EmDash](<https://devfeed.tech/topics/emdash.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [WordPress](<https://devfeed.tech/topics/wordpress.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [astro](<https://devfeed.tech/tags/astro.md>), [build](<https://devfeed.tech/tags/build.md>), [cloudflare](<https://devfeed.tech/tags/cloudflare.md>), [cloudflare-workers](<https://devfeed.tech/tags/cloudflare-workers.md>), [cms](<https://devfeed.tech/tags/cms.md>), [content](<https://devfeed.tech/tags/content.md>), [deploy](<https://devfeed.tech/tags/deploy.md>), [emdash](<https://devfeed.tech/tags/emdash.md>), [first](<https://devfeed.tech/tags/first.md>), [import](<https://devfeed.tech/tags/import.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [post](<https://devfeed.tech/tags/post.md>), [query](<https://devfeed.tech/tags/query.md>), [site](<https://devfeed.tech/tags/site.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [typescript](<https://devfeed.tech/tags/typescript.md>), [web-development](<https://devfeed.tech/tags/web-development.md>), [wordpress](<https://devfeed.tech/tags/wordpress.md>)

### AI overview

EmDash is an open-source TypeScript CMS integrated with Astro. The tutorial walks through creating a local Node.js site with SQLite, completing passkey-based admin setup, editing and publishing a post, and querying published content with Astro helpers. Saving creates a draft while the live version remains published until changes are explicitly published; content is fetched at render time without a rebuild. Deployment can use Node.js or Cloudflare Workers with D1 and R2. Local posts do not transfer automatically to a first Cloudflare deployment, and scheduled publishing there depends on a Cron Trigger and handler. WordPress content can be imported via WXR or the EmDash Exporter, but themes and plugins must be rebuilt. The excerpt describes core packages as production-ready while first-party plugins remain 0.x and subject to change.

### Source excerpt

Get started with EmDash, Cloudflare's open-source TypeScript CMS built on Astro: create a site, publish a post, query content, deploy, and import from WordPress.

## How to Install Git on Windows (Step by Step)

DevFeed: [How to Install Git on Windows (Step by Step)](<https://devfeed.tech/articles/how-to-install-git-on-windows-step-by-step-122037.md>)

Original publisher: [Read original article](<https://markodenic.com/install-git-on-windows/>)

Author: Marko

Published: 2026-11-07T09:00:00Z

Content type: tutorial

Language: en

Sources: [Marko Denic Blog](<https://devfeed.tech/sources/marko-denic-blog.md>)

Topics: [Git](<https://devfeed.tech/topics/git.md>), [Windows](<https://devfeed.tech/topics/windows.md>), [Learning](<https://devfeed.tech/topics/learning.md>)

Tags: [configure](<https://devfeed.tech/tags/configure.md>), [email](<https://devfeed.tech/tags/email.md>), [git](<https://devfeed.tech/tags/git.md>), [github](<https://devfeed.tech/tags/github.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [install](<https://devfeed.tech/tags/install.md>), [installer](<https://devfeed.tech/tags/installer.md>), [setup](<https://devfeed.tech/tags/setup.md>), [ssh](<https://devfeed.tech/tags/ssh.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [windows](<https://devfeed.tech/tags/windows.md>), [winget](<https://devfeed.tech/tags/winget.md>)

### AI overview

Install Git on Windows 10 or 11 with `winget install --id Git.Git -e --source winget`, then reopen the terminal and check `git --version`. The official installer is an alternative; key options include adding Git to PATH, keeping Git Credential Manager, and choosing an editor and `main` as the initial branch. After installation, configure your commit name and email. HTTPS works with Git Credential Manager; SSH is optional and requires creating a key and adding its public key to GitHub. Git works in PowerShell, Command Prompt, and Git Bash. Update it with `git update-git-for-windows` or `winget upgrade --id Git.Git`. For development inside WSL, the text recommends installing Git within WSL and keeping projects in its Linux file system.

### Source excerpt

Install Git on Windows with winget or the installer, pick the right setup options, configure your name and email, connect to GitHub with SSH, and keep Git up to date.

## How to Style an hr (Horizontal Rule) in CSS

DevFeed: [How to Style an hr (Horizontal Rule) in CSS](<https://devfeed.tech/articles/how-to-style-an-hr-horizontal-rule-in-css-121396.md>)

Original publisher: [Read original article](<https://markodenic.com/css-hr/>)

Author: Marko

Published: 2026-11-06T09:00:00Z

Content type: tutorial

Language: en

Sources: [Marko Denic Blog](<https://devfeed.tech/sources/marko-denic-blog.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [CSS Resets](<https://devfeed.tech/topics/css-reset.md>)

Tags: [border](<https://devfeed.tech/tags/border.md>), [color](<https://devfeed.tech/tags/color.md>), [css](<https://devfeed.tech/tags/css.md>), [gradient](<https://devfeed.tech/tags/gradient.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [hr](<https://devfeed.tech/tags/hr.md>), [html](<https://devfeed.tech/tags/html.md>), [screen-readers](<https://devfeed.tech/tags/screen-readers.md>), [semantic](<https://devfeed.tech/tags/semantic.md>), [style](<https://devfeed.tech/tags/style.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

### AI overview

The excerpt's key fix is to remove the browser's default border before styling <hr>; setting color or background alone may not change its appearance consistently. From there, use a border for line color and thickness, or a height and background for rounded, gradient, or custom dashed lines. A repeating-linear-gradient controls dash and gap lengths, while width plus auto side margins creates a shorter centered rule. For text between two lines, the excerpt recommends a flex container with pseudo-elements because <hr> cannot contain text; an ornament can instead be added to a real <hr> with ::after. Semantically, <hr> marks a thematic break announced as a separator by screen readers. Use a CSS border for purely decorative dividers.

### Source excerpt

Style the HTML hr element with CSS: change its color and thickness, make dashed, dotted and gradient lines, add text or an icon in the middle, and use it correctly as a thematic break.

## How to Revert to a Previous Commit in Git (Safely)

DevFeed: [How to Revert to a Previous Commit in Git (Safely)](<https://devfeed.tech/articles/how-to-revert-to-a-previous-commit-in-git-safely-119472.md>)

Original publisher: [Read original article](<https://markodenic.com/git-revert-to-commit/>)

Author: Marko

Published: 2026-11-05T09:00:00Z

Content type: tutorial

Language: en

Sources: [Marko Denic Blog](<https://devfeed.tech/sources/marko-denic-blog.md>)

Topics: [Git](<https://devfeed.tech/topics/git.md>)

Tags: [branch](<https://devfeed.tech/tags/branch.md>), [changes](<https://devfeed.tech/tags/changes.md>), [checkout](<https://devfeed.tech/tags/checkout.md>), [commit](<https://devfeed.tech/tags/commit.md>), [commits](<https://devfeed.tech/tags/commits.md>), [delete](<https://devfeed.tech/tags/delete.md>), [file](<https://devfeed.tech/tags/file.md>), [git](<https://devfeed.tech/tags/git.md>), [hash](<https://devfeed.tech/tags/hash.md>), [history](<https://devfeed.tech/tags/history.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [lease](<https://devfeed.tech/tags/lease.md>), [leave](<https://devfeed.tech/tags/leave.md>), [local](<https://devfeed.tech/tags/local.md>), [look](<https://devfeed.tech/tags/look.md>), [merge](<https://devfeed.tech/tags/merge.md>), [mistakes](<https://devfeed.tech/tags/mistakes.md>), [recover](<https://devfeed.tech/tags/recover.md>), [reset](<https://devfeed.tech/tags/reset.md>), [safely](<https://devfeed.tech/tags/safely.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

### AI overview

Choose the command based on whether the commits were pushed. For shared, pushed work, `git revert` adds a new commit that reverses changes while preserving history; use `--no-commit` to combine multiple reverts, and `-m 1` when reverting a merge to keep the branch it was merged into. For local commits, `git reset` moves the branch pointer: `--soft` keeps changes staged, `--mixed` (the default) leaves them unstaged, and `--hard` discards them, including uncommitted work. Check `git status` and stash work before a hard reset. Resetting pushed commits requires a force push that rewrites shared history; `--force-with-lease` checks for intervening commits, and the article recommends doing this only on your own branch. To inspect an old commit without changing the branch, use detached HEAD; restore a single file with `git restore --source`; recover a reset position using `git reflog`. The article says reflog can usually recover commits, but not uncommitted changes.

### Source excerpt

Go back to a previous commit in Git: git revert for pushed work, git reset --soft, --mixed and --hard for local commits, restoring one file, reverting merges, and recovering from mistakes with reflog.

## CSS transform: translate, rotate, scale and transform-origin

DevFeed: [CSS transform: translate, rotate, scale and transform-origin](<https://devfeed.tech/articles/css-transform-translate-rotate-scale-and-transform-origin-116066.md>)

Original publisher: [Read original article](<https://markodenic.com/css-transform/>)

Author: Marko

Published: 2026-11-04T09:00:00Z

Content type: article

Language: en

Sources: [Marko Denic Blog](<https://devfeed.tech/sources/marko-denic-blog.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [web animation](<https://devfeed.tech/topics/web-animation.md>), [Front end](<https://devfeed.tech/topics/frontend.md>)

Tags: [3d](<https://devfeed.tech/tags/3d.md>), [animations](<https://devfeed.tech/tags/animations.md>), [css](<https://devfeed.tech/tags/css.md>), [order](<https://devfeed.tech/tags/order.md>), [properties](<https://devfeed.tech/tags/properties.md>), [scale](<https://devfeed.tech/tags/scale.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [web-development](<https://devfeed.tech/tags/web-development.md>)

### AI overview

CSS transforms move, rotate, scale or skew an element visually while leaving its original layout space reserved, so surrounding elements do not move. The article explains that transform functions apply left to right, affecting the coordinate system used by later functions; separate `translate`, `rotate` and `scale` properties instead apply in a fixed order and can be changed or animated independently. `transform-origin` sets the pivot for rotation and scaling. For 3D effects, use parent `perspective`, preserve depth where needed, and hide a flipped card's back face. Practical caveats: plain inline elements need `inline-block`; later `transform` declarations replace earlier ones; transforms create a containing block for fixed-position children and a stacking context. The article recommends animating `transform` and `opacity` to avoid layout recalculation.

### Source excerpt

How CSS transform works: translate, rotate, scale and skew, the individual translate/rotate/scale properties, why order matters, transform-origin, 3D transforms, and smooth animations.

## JavaScript Modulo (%): Remainder Operator Explained

DevFeed: [JavaScript Modulo (%): Remainder Operator Explained](<https://devfeed.tech/articles/javascript-modulo-remainder-operator-explained-116067.md>)

Original publisher: [Read original article](<https://markodenic.com/javascript-modulo/>)

Author: Marko

Published: 2026-11-03T09:00:00Z

Content type: article

Language: en

Sources: [Marko Denic Blog](<https://devfeed.tech/sources/marko-denic-blog.md>)

Topics: [JavaScript](<https://devfeed.tech/topics/javascript.md>)

Tags: [array](<https://devfeed.tech/tags/array.md>), [bigint](<https://devfeed.tech/tags/bigint.md>), [calc](<https://devfeed.tech/tags/calc.md>), [clamp](<https://devfeed.tech/tags/clamp.md>), [css](<https://devfeed.tech/tags/css.md>), [dividend](<https://devfeed.tech/tags/dividend.md>), [floating-point](<https://devfeed.tech/tags/floating-point.md>), [foreach](<https://devfeed.tech/tags/foreach.md>), [function](<https://devfeed.tech/tags/function.md>), [index](<https://devfeed.tech/tags/index.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [min](<https://devfeed.tech/tags/min.md>), [minutes](<https://devfeed.tech/tags/minutes.md>), [numbers](<https://devfeed.tech/tags/numbers.md>), [operator](<https://devfeed.tech/tags/operator.md>), [python](<https://devfeed.tech/tags/python.md>), [sign](<https://devfeed.tech/tags/sign.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

### AI overview

JavaScript's `%` operator returns a remainder, whose sign follows the left operand; it is therefore not true modulo for negative values. The excerpt shows uses for divisibility and even/odd checks, periodic actions, wrapping array indexes, and splitting seconds into minutes and seconds. For a nonnegative modulo result, it gives `((n % m) + m) % m`. It also notes that decimal remainders can be imprecise because of floating-point representation, BigInt operands must both be BigInts, and `% 0` yields `NaN`.

### Source excerpt

How the % operator works in JavaScript: remainders, even and odd checks, why negative numbers give negative results, a true modulo function, and practical uses like wrapping indexes and time formatting.

## CSS Blur: Blur Text, Images and Backgrounds

DevFeed: [CSS Blur: Blur Text, Images and Backgrounds](<https://devfeed.tech/articles/css-blur-blur-text-images-and-backgrounds-112524.md>)

Original publisher: [Read original article](<https://markodenic.com/css-blur/>)

Author: Marko

Published: 2026-11-02T09:00:00Z

Content type: article

Language: en

Sources: [Marko Denic Blog](<https://devfeed.tech/sources/marko-denic-blog.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [image effects](<https://devfeed.tech/topics/image-effects.md>), [glassmorphism](<https://devfeed.tech/topics/glassmorphism.md>), [performance-optimization](<https://devfeed.tech/topics/performance-optimization.md>), [web graphics](<https://devfeed.tech/topics/web-graphics.md>)

Tags: [absolute](<https://devfeed.tech/tags/absolute.md>), [background](<https://devfeed.tech/tags/background.md>), [block](<https://devfeed.tech/tags/block.md>), [border](<https://devfeed.tech/tags/border.md>), [border-radius](<https://devfeed.tech/tags/border-radius.md>), [browsers](<https://devfeed.tech/tags/browsers.md>), [children](<https://devfeed.tech/tags/children.md>), [color](<https://devfeed.tech/tags/color.md>), [container](<https://devfeed.tech/tags/container.md>), [content](<https://devfeed.tech/tags/content.md>), [css](<https://devfeed.tech/tags/css.md>), [cursor](<https://devfeed.tech/tags/cursor.md>), [display](<https://devfeed.tech/tags/display.md>), [element](<https://devfeed.tech/tags/element.md>), [elements](<https://devfeed.tech/tags/elements.md>), [filter](<https://devfeed.tech/tags/filter.md>), [focus](<https://devfeed.tech/tags/focus.md>), [glass](<https://devfeed.tech/tags/glass.md>), [images](<https://devfeed.tech/tags/images.md>), [text](<https://devfeed.tech/tags/text.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [web-development](<https://devfeed.tech/tags/web-development.md>)

### AI overview

CSS `filter: blur()` blurs an element and its contents; `backdrop-filter: blur()` blurs what shows behind an element through its transparent areas. For frosted glass, use a semi-transparent background, and add `-webkit-backdrop-filter` for Safari versions before 18. To keep text sharp over a blurred background image, put the image on a pseudo-element or separate layer and blur that alone. Blur can create faded edges; clipping the image in an overflow-hidden container and scaling it up, or extending a background pseudo-element beyond its box, hides them. Text can be blurred with `text-shadow`; spoilers can use `filter` and reveal on hover or focus, with `tabindex="0"` for keyboard and touch access. Blur is costly, especially `backdrop-filter` during scrolling: keep areas small, avoid animating large blur radii, and consider a pre-blurred image for static backgrounds.

### Source excerpt

Everything you can blur with CSS: images and elements with filter: blur(), frosted glass with backdrop-filter, blurred text and spoilers, and blurred background images without blurry edges.

## How to Make Text Italic in HTML (i vs em vs CSS)

DevFeed: [How to Make Text Italic in HTML (i vs em vs CSS)](<https://devfeed.tech/articles/how-to-make-text-italic-in-html-i-vs-em-vs-css-110748.md>)

Original publisher: [Read original article](<https://markodenic.com/html-italics/>)

Author: Marko

Published: 2026-11-01T09:00:00Z

Content type: tutorial

Language: en

Sources: [Marko Denic Blog](<https://devfeed.tech/sources/marko-denic-blog.md>)

Topics: [HTML](<https://devfeed.tech/topics/html.md>), [CSS](<https://devfeed.tech/topics/css.md>), [Font](<https://devfeed.tech/topics/font.md>), [markup](<https://devfeed.tech/topics/markup.md>), [Variable Fonts](<https://devfeed.tech/topics/variable-fonts.md>), [Markdown](<https://devfeed.tech/topics/markdown.md>), [selectors](<https://devfeed.tech/topics/selectors.md>)

Tags: [css](<https://devfeed.tech/tags/css.md>), [em](<https://devfeed.tech/tags/em.md>), [examples](<https://devfeed.tech/tags/examples.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [html](<https://devfeed.tech/tags/html.md>), [i](<https://devfeed.tech/tags/i.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

### AI overview

Choose `<em>` for words stressed for emphasis, `<i>` for text in an alternate voice such as foreign words or technical terms, and CSS `font-style: italic` when italics are purely visual. These elements look alike by default but convey different meanings; use `<strong>` for importance rather than stress, and use `<cite>`, `<dfn>`, `<var>`, or `<address>` for their stated meanings when appropriate. CSS can also reset italics with `font-style: normal` or create a slant with `oblique`. If a web font lacks an italic file, browsers may fake italics by slanting regular letters; loading an italic font style or using a variable font with an italic axis avoids that fallback. The supplied text notes that screen readers usually do not change their voice for `<em>`, so important meaning should not rely on italics alone.

### Source excerpt

Make text italic in HTML: when to use em, when to use i, the other tags that render in italics, the CSS font-style property, and how to remove italics. With examples.

## How to Add a Seasonal Theme to Your Website (Halloween Example)

DevFeed: [How to Add a Seasonal Theme to Your Website (Halloween Example)](<https://devfeed.tech/articles/how-to-add-a-seasonal-theme-to-your-website-halloween-example-110086.md>)

Original publisher: [Read original article](<https://markodenic.com/seasonal-website-theme/>)

Author: Marko

Published: 2026-10-31T12:48:08Z

Content type: tutorial

Language: en

Sources: [Marko Denic Blog](<https://devfeed.tech/sources/marko-denic-blog.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [Website](<https://devfeed.tech/topics/website.md>), [User interface design](<https://devfeed.tech/topics/ui-design.md>), [Dark Mode](<https://devfeed.tech/topics/dark-mode.md>), [animations](<https://devfeed.tech/topics/animations.md>), [Search engine optimization (SEO)](<https://devfeed.tech/topics/seo.md>)

Tags: [animation](<https://devfeed.tech/tags/animation.md>), [aria](<https://devfeed.tech/tags/aria.md>), [background](<https://devfeed.tech/tags/background.md>), [browser](<https://devfeed.tech/tags/browser.md>), [cache](<https://devfeed.tech/tags/cache.md>), [caching](<https://devfeed.tech/tags/caching.md>), [canonical](<https://devfeed.tech/tags/canonical.md>), [cdn](<https://devfeed.tech/tags/cdn.md>), [class](<https://devfeed.tech/tags/class.md>), [css](<https://devfeed.tech/tags/css.md>), [demo](<https://devfeed.tech/tags/demo.md>), [example](<https://devfeed.tech/tags/example.md>), [halloween](<https://devfeed.tech/tags/halloween.md>), [holiday](<https://devfeed.tech/tags/holiday.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [motion](<https://devfeed.tech/tags/motion.md>), [palette](<https://devfeed.tech/tags/palette.md>), [server](<https://devfeed.tech/tags/server.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [variable](<https://devfeed.tech/tags/variable.md>), [web-development](<https://devfeed.tech/tags/web-development.md>), [website](<https://devfeed.tech/tags/website.md>)

### AI overview

A seasonal website theme can switch on and off by date without changing the site's main content: the example checks month and day server-side, loads theme files only during the window, and uses CSS variables to change colors. A query parameter enables previews; for a date range crossing New Year, the check uses OR logic. Decorations are fixed SVGs with pointer events disabled so they do not block clicks, and reduced-motion settings keep still elements while skipping animated ones. The article advises checking color contrast, updating related aria-labels when copy changes, and purging full-page caches at the start and end of the theme window. For static sites, it suggests an early head script and an HTML class, with the tradeoff that dates then follow the visitor's clock rather than the server's.

### Source excerpt

Add a Halloween or holiday theme that turns itself on and off by date: a server-side date check, a CSS variable palette swap, decorations that stay out of the way, and reduced-motion support. With a live demo.

[Next page](<https://devfeed.tech/sources/marko-denic-blog.md?cursor=WyIyMDI2LTEwLTMxVDEyOjQ4OjA4KzAwOjAwIiwgImJiYWFlYjFhLWEwMGEtNDM4OC04ODQ2LTQxNGRlZDNlOGY2NSJd>)