Menu

#Elements

107 posts

Feed·
20 of 107 posts
CSS Selectors for Beginners: Target Any Element on the Page
📰
0Read More

CSS Selectors for Beginners: Target Any Element on the Page

DEV Community: css·Arhan Khan·about 18 hours ago
#A0fyhH4Z
#devtocss#devto#dev#header#ddd

CSS selectors are how you tell the browser which elements to style. Every layout you have ever...

15s
Finding every image on a page from a content script, and the lazy iframe that cost 8 seconds
📰
0Read More

Finding every image on a page from a content script, and the lazy iframe that cost 8 seconds

DEV Community: javascript·Casper Tran·1 day ago
#glUkTA2f
#devtojavascript#devto#dev#every#walk

The browser already knows every image it has loaded, but an extension cannot ask it for that list....

15s
Our home page has 1,416 elements, its deepest chain is a tooltip, and the widest parent on every page is the footer tree
📰
0Read More

Our home page has 1,416 elements, its deepest chain is a tooltip, and the widest parent on every page is the footer tree

DEV Community: html·Daniel Pertu·2 days ago
#dUQeq4dS
#devto2#devto#dev#elements#pages

I counted elements, nesting depth and children per parent on all 106 pages of nakodo.app. 62 pages are over 800 elements, 105 of them nest 12 to 14 deep, and one decorative SVG has 69 direct children on every single page.

15s
Python Day 27 – Sets in Python: Properties, Methods and Mathematical Operations
📰
0Read More

Python Day 27 – Sets in Python: Properties, Methods and Mathematical Operations

DEV Community: python·Vasanthakumari N·4 days ago
#vNWGX8f4
#devtopython#devto#dev#enter#exit

In Python, a Set is a collection of unique elements. It is mainly used when we want to store multiple...

15s
Which buttons have your UI tests never tapped? Measuring UI element coverage in XCUITest
🖼️
0Read More

Which buttons have your UI tests never tapped? Measuring UI element coverage in XCUITest

DEV Community: swift·Sergey Yakimov·6 days ago
#RHVQbNQv
#devtoswift#devto#dev#selector#test

We have about 570 UI tests written in XCUITest. One day someone on the team asked: how much of the...

15s
Two logical properties and 110 physical ones, so I set dir=rtl on all 106 of our pages
📰
0Read More

Two logical properties and 110 physical ones, so I set dir=rtl on all 106 of our pages

DEV Community: tailwindcss·Daniel Pertu·7 days ago
#UKGbwqyU
#devtotailwindcss#devto#dev#left#right

Our shipped stylesheet has 110 direction-sensitive physical declarations against two logical ones. Flipping the document moves 36,340 elements, overflows nothing, and leaves 2,126 boxes off their mirror, 93 per cent of them from ten class strings.

15s
Dark Matter Might Have Its Own Periodic Table of Invisible Particles
🖼️
0Read More

Dark Matter Might Have Its Own Periodic Table of Invisible Particles

#wired#technology#dark#matter#particles

Although it remains within the realm of theoretical physics, a new study hints at a parallel chemistry that would force us to rethink how we organize the fundamental components of the universe.

15s
TEACH: A Practical Hierarchy for Styling Design Systems
📰
0Read More

TEACH: A Practical Hierarchy for Styling Design Systems

DEV Community: css·Alvaro Montoro·13 days ago
#x1lfghbo
#devtocss#devto#dev#classes#native

A mental model for organizing styles in design systems, starting with the native capabilities of the web platform and progressively building toward more complex abstractions.

15s
Einstein’s relativity just upended a fundamental rule of chemistry
📰
0Read More

Einstein’s relativity just upended a fundamental rule of chemistry

ScienceDaily·13 days ago
#yvXnnvEP

A surprising discovery at Brown University is challenging one of chemistry's most fundamental textbook explanations. Researchers found direct evidence that Einstein's theory of relativity changes how heavy atoms form triple bonds, causing normally…

15s