CSS para impacientes

Reativa

Está curtindo os conteúdos da Reativa? Quer que a gente te ajude a ser um dev melhor? Deixe seu melhor email aqui.

CSS como usar o Bouncing loader

January 04, 2020

Creates a bouncing loader animation. Explanation Note: is usually . defines an animation that has two states, where the element changes…

CSS como usar o Box-sizing reset

January 04, 2020

Resets the box-model so that s and s are not affected by their s or . Explanation makes the addition of or s not affect an element’s or…

CSS como usar o Calc()

January 04, 2020

The function calc() allows to define CSS values with the use of mathematical expressions, the value adopted for the property is the result…

CSS como usar o Circle

January 04, 2020

Creates a circle shape with pure CSS. Explanation curves the borders of an element to create a circle. Since a circle has the same radius…

CSS como usar o Clearfix

January 04, 2020

Ensures that an element self-clears its children. Explanation defines a pseudo-element. allows the pseudo-element to affect layout…

CSS como usar o Counter

January 04, 2020

Counters are, in essence, variables maintained by CSS whose values may be incremented by CSS rules to track how many times they’re used…

CSS como usar o Custom scrollbar

January 04, 2020

Customizes the scrollbar style for the document and elements with scrollable overflow, on WebKit platforms. Explanation targets the whole…

CSS como usar o Custom text selection

January 04, 2020

Changes the styling of text selection. Explanation defines a pseudo selector on an element to style text within it when selected. Note that…

CSS como usar o Custom variables

January 04, 2020

CSS variables that contain specific values to be reused throughout a document. Explanation The variables are defined globally within the…

CSS como usar o Disable selection

January 04, 2020

Makes the content unselectable. Explanation specifies that the text cannot be selected. Browser support ⚠️ Requires prefixes for full…

CSS como usar o Donut spinner

January 04, 2020

Creates a donut spinner that can be used to indicate the loading of content. Explanation Use a semi-transparent for the whole element…

CSS como usar o Drop cap

January 04, 2020

Makes the first letter in the first paragraph bigger than the rest of the text - often used to signify the beginning of a new section…

CSS como usar o Dynamic shadow

January 04, 2020

Creates a shadow similar to but based on the colors of the element itself. Explanation on the element establishes a Cartesian positioning…

CSS como usar o Easing variables

January 04, 2020

Variables that can be reused for properties, more powerful than the built-in , , and . Explanation The variables are defined globally…

CSS como usar o Etched text

January 04, 2020

Creates an effect where text appears to be “etched” or engraved into the background. Explanation creates a white shadow offset…

CSS como usar o Fit image in container

January 04, 2020

Changes the fit and position of an image within its container while preserving its aspect ratio. Previously only possible using a background…

CSS como usar o Flexbox centering

January 04, 2020

Horizontally and vertically centers a child element within a parent element using . Explanation enables flexbox. centers the child…

CSS como usar o Focus Within

January 04, 2020

Changes the appearance of a form if any of its children are focused. Explanation The psuedo class applies styles to a parent element if any…

CSS como usar o Fullscreen

January 04, 2020

The :fullscreen CSS pseudo-class represents an element that’s displayed when the browser is in fullscreen mode. Explanation CSS pseudo…

CSS como usar o Ghost trick

January 04, 2020

Vertically centers an element in another. Explanation Use the style of a pseudo-element to vertically align inline elements without…

CSS como usar o Gradient text

January 04, 2020

Gives text a gradient color. Explanation gives the text element a gradient background. fills the text with a transparent color. clips the…

CSS como usar o Grid centering

January 04, 2020

Horizontally and vertically centers a child element within a parent element using . Explanation enables grid. centers the child…

CSS como usar o Hairline border

January 04, 2020

Gives an element a border equal to 1 native device pixel in width, which can look very sharp and crisp. Explanation , when only using spread…

CSS como usar o Hamburger Button

January 04, 2020

Displays a hamburger menu which transitions to a cross on hover. Explanation Use a container which contains the top, bottom, and middle…

CSS como usar o Height transition

January 04, 2020

Transitions an element’s height from to when its height is unknown. Explanation specifies that changes to should be transitioned over…

CSS como usar o Masonry Layout

January 04, 2020

Creates a vertical Masonry layout using pure HTML and CSS. Explanation Create a masonry-style layout that consists of “bricks” that fall…

CSS como usar o :not selector

January 04, 2020

The pseudo selector is useful for styling a group of elements, while leaving the last (or specified) element unstyled. Explanation…

CSS como usar o Offscreen

January 04, 2020

A bulletproof way to completely hide an element visually and positionally in the DOM while still allowing it to be accessed by JavaScript…

CSS como usar o Popout menu

January 04, 2020

Reveals an interactive popout menu on hover and focus. Explanation on the reference parent establishes a Cartesian positioning context for…

CSS como usar o Pretty text underline

January 04, 2020

A nicer alternative to or where descenders do not clip the underline. Natively implemented as but it has less control over the underline…

CSS como usar o Pulse loader

January 04, 2020

Creates a pulse effect loader animation using the property. Explanation Use to define an animation at two points in the cycle, start…

CSS como usar o Reset all styles

January 04, 2020

Resets all styles to default values with one property. This will not affect and properties. Explanation The property allows you to reset…

CSS como usar o Shape separator

January 04, 2020

Uses an SVG shape to separate two different blocks to create more a interesting visual appearance compared to standard horizontal separation…

CSS como usar o Sibling fade

January 04, 2020

Fades out the siblings of a hovered item. Explanation specifies that changes to opacity will be transitioned over 0.2 seconds. specifies…

CSS como usar o System font stack

January 04, 2020

Uses the native font of the operating system to get close to a native app feel. Explanation The browser looks for each successive font…

CSS como usar o 3-tile layout

January 04, 2020

Align items horizontally using to create a 3-tile layout. Explanation Use to create a tiled layout, without using , or . is the…

CSS como usar o Toggle switch

January 04, 2020

Creates a toggle switch with CSS only. Explanation This effect is styling only the element to look like a toggle switch, and hiding the…

CSS como usar o Transform centering

January 04, 2020

Vertically and horizontally centers a child element within its parent element using and (as an alternative to or ). Similar to , this…

CSS como usar o Transform - Detransform

January 04, 2020

Sets a transform on the parent element and de-transforms the child elements, so they are not affected by the transform. This allows for some…

CSS como usar o Triangle

January 04, 2020

Creates a triangle shape with pure CSS. Explanation View this link for a detailed explanation. The color of the border is the color of the…

CSS como usar o Truncate text

January 04, 2020

If the text is longer than one line, it will be truncated and end with an ellipsis . Explanation prevents the text from overflowing its…

CSS como usar o Zebra striped list

January 04, 2020

Creates a striped list with alternating background colors, which is useful for differentiating siblings that have content spread across a…