Front-End RoundupGathered from around the web

Community

DEV.to — CSS

#css

Visit dev.to

Recent from DEV.to — CSS

Stop writing hex codes in your CSS

The hover state that started it all A design review last Monday morning really got under my skin. Our lead designer noticed a subtle mismatch in a button hover state. I opened the component file to check the code. Right there in the styled…

DEV.to — CSS

JavaScript:

Today, I spent time revising two essential core concepts in JavaScript: JavaScript Objects and Arrow Functions. Here is a quick breakdown of what I covered: 1. JavaScript Objects (Key-Value Pairs & Methods):**** Objects allow us to group…

DEV.to — CSS

What is Semantic?

Semantic HTML means using HTML elements that clearly describe their meaning and purpose. For example: <h1>My Website</h1> Semantic HTML Elements: → Defines the header of a webpage or section → Defines navigation links → Defines the main…

DEV.to — CSS

Types of CSS

Inline CSS: CSS is written directly inside an HTML element. Hello World Internal CSS: CSS is written inside the tag.</p></li> </ol> <style> p { color: red; } External CSS: CSS is written in a separate .css file.

DEV.to — CSS

What is CSS?

CSS stands for Cascading Style Sheets. CSS is used to style and design HTML elements on a webpage. For Example: Colors Fonts Text size Backgrounds Width and height Margins and padding Borders For further actions, you may consider blocking…

DEV.to — CSS

Constructor Function:

What is a Constructor Function? It is a special function used to initialize objects with specific values. It is called automatically when a new object is created using the new keyword. 2. Naming Convention Rule: Regular functions start with…

DEV.to — CSS

React: Styling (CSS)

1) Static asset files and images The way you use an image depends on where the file is stored. Files inside public/ Files in the public folder are served from the app root. In Vite, that usually means they are exposed as /image.png . < img…

DEV.to — CSS

A New Concept for Websites

CieloVistaSoftware / wb-starter Website Builder Starter Project Web Behaviors (WB) Starter A zero-build website framework. You write HTML5. That is the whole API. Semantic elements first. Composition only. Light DOM only. No custom…

DEV.to — CSS