CSS-Tricks - Tips, Tricks, e Techniques em usar Cascading Style Sheets. - Argélia - Catálogo do mundo lusófono

CSS-Tricks - Tips, Tricks, e Techniques em usar Cascading Style Sheets.

  • 2022-01-05Data de coleta
  • 2022-02-15Atualizada
CSS-Tricks - Tips, Tricks, e Techniques em usar Cascading Style Sheets.
  • Endereço do website:css-tricks.com
  • IP do servidor:104.18.39.21
  • Descrição do Site:Artigos diários sobre CSS, HTML, JavaScript, e todas as coisas relacionadas ao design e desenvolvimento da web.

nome do domínio:css-tricks.comAvaliação

cerca de 5000~500000

nome do domínio:css-tricks.comfluxo

382

nome do domínio:css-tricks.comBom ou mal

Prosperidade e declínio. Altos e baixos Boa sorte traz azar

local na rede Internet:CSS-Tricks - Tips, Tricks, e Techniques em usar Cascading Style Sheets.Pesos

2

local na rede Internet:CSS-Tricks - Tips, Tricks, e Techniques em usar Cascading Style Sheets.IP

104.18.39.21

local na rede Internet:CSS-Tricks - Tips, Tricks, e Techniques em usar Cascading Style Sheets.contente

CSS-Tricks-AWebsiteAboutMakingWebsites.post-slider{box-sizing:content-box;display:flex;margin:00var(--gap)0;padding:01rem1rem;position:relative;@media(min-width:1200px){&::after{content:"";position:absolute;right:0;top:0;bottom:3.6rem;width:5px;height:100%;border-radius:5px;box-shadow:-10px020px3px#000;background:linear-gradient(130deg,#ff7a180%,#af002d41.07%,#76.05%);}body.home&{background:none;}}@media(max-width:1200px){scrollbar-color:#666#201c29;&::-webkit-scrollbar{width:10px;height:10px;}&::-webkit-scrollbar-thumb{background:#;border-radius:10px;box-shadow:inset2px2px2pxrgba(255,255,255,0.25),inset-2px-2px2pxrgba(0,0,0,0.25);}&::-webkit-scrollbar-track{background:linear-gradient(toright,#,#1px,#1px,#);}padding-bottom:var(--gap);padding-left:5px;overflow-x:scroll;-webkit-overflow-scrolling:touch;scroll-snap-points-x:repeat(250px);scroll-snap-type:xmandatory;-webkit-scroll-snap-type:xmandatory;.mini-card{scroll-snap-align:start;}}}.post-slider-header{color:#fff;margin-top:2rem;flex:00250px;margin-right:1rem;position:relative;display:flex;flex-direction:column;justify-content:flex-end;padding:1.5rem;@media(max-width:1200px){scroll-snap-align:start;scroll-margin-inline-start:5px;}p{font-size:var(--font-size-body);margin:0;}a{text-decoration:none;}&::before{--offset:5px;content:"";background:linear-gradient(130deg,#ff7a180%,#af002d41.07%,#76.05%);position:absolute;top:calc(var(--offset)*-1);left:calc(var(--offset)*-1);width:calc(100%+10px);height:calc(100%+10px);z-index:1;border-radius:12px;}&::after{content:"";position:absolute;top:0;left:0;width:calc(100%);height:calc(100%);background:#000;z-index:2;border-radius:8px;}transform:translateY(-10px);>*{color:inherit;position:relative;z-index:3;}@media(max-width:800px){flex:00175px;}}.mini-card-grid{display:flex;gap:1rem;margin:001.5rem0;position:relative;scrollbar-gutter:always;padding:3rem03rem2rem;margin:0;overflow-x:scroll;-webkit-overflow-scrolling:touch;scrollbar-color:##201c29;&::-webkit-scrollbar{width:10px;height:10px;}&::-webkit-scrollbar-thumb{background:#;border-radius:10px;box-shadow:inset2px2px2pxrgba(255,255,255,0.25),inset-2px-2px2pxrgba(0,0,0,0.25);}&::-webkit-scrollbar-track{background:linear-gradient(toright,#,#1px,#1px,#);}@media(max-width:1200px){overflow-x:visible;}}.mini-card{padding:1.5rem;border-radius:16px;background:linear-gradient(85deg,#,#);color:#fff;display:flex;flex-direction:column;transition:0.2s;margin:0;min-width:300px;min-height:350px;box-shadow:-2rem03rem-2remblack;a{text-decoration:none;}h3a{color:white!important;}h3.aal_anchor{display:none;}.ts{margin:000.5rem0;}.author-name{color:#fff;}time{display:block;margin:000.25rem0;color:#777;strong{color:#d4d4d4;}}&:hover,&:focus-within{transform:translate(0,-1rem)rotate(3deg);&~.mini-card{transform:translateX(130px);}}&:first-child{&:hover,&:focus-within{/*Coverclickableareaontheleftedgeoffirstcard*/transform:translate(-0.5rem,-1rem)rotate(3deg);}}&:not(:first-child){margin-left:-130px;box-shadow:-3rem03rem-2remblack;}@media(max-width:1200px){min-width:220px;&:not(:first-child){margin-left:-30px;}&:hover{transform:translate(0,-1rem);&~.mini-card{transform:translateX(30px);}}}@media(max-width:800px){min-width:190px;&:not(:first-child){margin-left:-10px;}&:hover{transform:translate(0,-1rem);&~.mini-card{transform:translateX(10px);}}}}.mini-card-title{font-size:1.3rem;margin:001rem0;}/*!***************************************************************************************************************************************************************************************************************************************!*\!***css./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/style.scss***!\***************************************************************************************************************************************************************************************************************************************//***Thefollowingstylesgetappliedbothonthefrontofyoursite*andintheeditor.**Replacethemwithyourownstylesorremovethefilecompletely.*/baseline-status{--color-text:#fff;--color-outline:var(--orange);background:#000;border:solid5pxvar(--color-outline);border-radius:8px;color:var(--color-text);display:block;margin-block-end:var(--gap);padding:calc(var(--gap)/4);}@media(prefers-color-scheme:dark){baseline-status{--color-text:#fff;--color-link:var(--orange);}}baseline-status::slotted(h1){display:none;}/*#sourceMappingURL=style-index.css.map*//*!***************************************************************************************************************************************************************************************************************************************!*\!***css./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/style.scss***!\***************************************************************************************************************************************************************************************************************************************//***Thefollowingstylesgetappliedbothonthefrontofyoursite*andintheeditor.**Replacethemwithyourownstylesorremovethefilecompletely.*/.wp-block-css-tricks-feedbin-starred-feed{background:linear-gradient(white30%,rgba(255,255,255,0))centertop,linear-gradient(rgba(255,255,255,0),white70%)centerbottom,radial-gradient(farthest-sideat50%0,rgba(0,0,0,0.3),rgba(0,0,0,0))centertop,radial-gradient(farthest-sideat50%100%,rgba(0,0,0,0.3),rgba(0,0,0,0))centerbottom;background-repeat:no-repeat;background-size:100%40px,100%40px,100%14px,100%14px;background-attachment:local,local,scroll,scroll;border:1pxsolid#dadada;border-radius:12px;height:400px;overflow-y:scroll;}.wp-block-css-tricks-feedbin-starred-feed::before,.wp-block-css-tricks-feedbin-starred-feed::after{content:"";display:block;position:sticky;left:0;right:0;height:0.75rem;}.wp-block-css-tricks-feedbin-starred-feed::before{top:0;}.wp-block-css-tricks-feedbin-starred-feed::after{bottom:0;}.wp-block-css-tricks-feedbin-starred-feed.starred-item{margin-block-end:var(--gap);padding:0.5rem;}.wp-block-css-tricks-feedbin-starred-feed.starred-item:is(h3,#specificity){border-block-end:3pxsolidvar(--orange);font-family:"Blanco",system-ui,-apple-system,BlinkMacSystemFont,"SegoeUI",system-serif;font-size:1.35rem;line-height:1.35;margin-block:calc(var(--gap)/4);margin-top:0;padding-block-end:calc(var(--gap)/4);}.wp-block-css-tricks-feedbin-starred-feed.starred-item:is(h3,#specificity)a:is(:hover,:focus,#specificity){text-decoration:none;}.wp-block-css-tricks-feedbin-starred-feed.link-meta{display:flex;font-size:1rem;gap:5px;}.wp-block-css-tricks-feedbin-starred-feed.link-metacite{flex:01300px;line-clamp:1;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap;}.wp-block-css-tricks-feedbin-starred-feed.link-metaspan{line-clamp:1;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap;}@keyframesshadow-reveal{0%{opacity:0;}100%{opacity:1;}}/*#sourceMappingURL=style-index.css.map*/.jetpack-sharing-buttons__services-list{display:flex;flex-direction:row;flex-wrap:wrap;gap:0;list-style-type:none;margin:5px;padding:0}.jetpack-sharing-buttons__services-list.has-small-icon-size{font-size:12px}.jetpack-sharing-buttons__services-list.has-normal-icon-size{font-size:16px}.jetpack-sharing-buttons__services-list.has-large-icon-size{font-size:24px}.jetpack-sharing-buttons__services-list.has-huge-icon-size{font-size:36px}@mediaprint{.jetpack-sharing-buttons__services-list{display:none!important}}.editor-styles-wrapper.wp-block-jetpack-sharing-buttons{gap:0;padding-inline-start:0}ul.jetpack-sharing-buttons__services-list.has-background{padding:1.25em2.375em}.wp-block-rank-math-toc-blocknol{counter-reset:item}.wp-block-rank-math-toc-blocknolli{display:block}.wp-block-rank-math-toc-blocknolli:before{content:counters(item,".")".";counter-increment:item}/*!Thisfileisauto-generated*/.wp-block-button__link{color:#fff;background-color:#c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em+2px)calc(1.333em+2px);font-size:1.125em}.wp-block-file__button{background:#c;color:#fff;text-decoration:none}:root{--wp--preset--aspect-ratio--square:1;--wp--preset--aspect-ratio--4-3:4/3;--wp--preset--aspect-ratio--3-4:3/4;--wp--preset--aspect-ratio--3-2:3/2;--wp--preset--aspect-ratio--2-3:2/3;--wp--preset--aspect-ratio--16-9:16/9;--wp--preset--aspect-ratio--9-16:9/16;--wp--preset--color--black:#;--wp--preset--color--cyan-bluish-gray:#abb8c3;--wp--preset--color--white:#ffffff;--wp--preset--color--pale-pink:#f78da7;--wp--preset--color--vivid-red:#cf2e2e;--wp--preset--color--luminous-vivid-orange:#ff6900;--wp--preset--color--luminous-vivid-amber:#fcb900;--wp--preset--color--light-green-cyan:#7bdcb5;--wp--preset--color--vivid-green-cyan:#00d084;--wp--preset--color--pale-cyan-blue:#8ed1fc;--wp--preset--color--vivid-cyan-blue:#0693e3;--wp--preset--color--vivid-purple:#9b51e0;--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple:linear-gradient(135deg,rgba(6,147,227,1)0%,rgb(155,81,224)100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan:linear-gradient(135deg,rgb(122,220,180)0%,rgb(0,208,130)100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange:linear-gradient(135deg,rgba(252,185,0,1)0%,rgba(255,105,0,1)100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red:linear-gradient(135deg,rgba(255,105,0,1)0%,rgb(207,46,46)100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray:linear-gradient(135deg,rgb(238,238,238)0%,rgb(169,184,195)100%);--wp--preset--gradient--cool-to-warm-spectrum:linear-gradient(135deg,rgb(74,234,220)0%,rgb(151,120,209)20%,rgb(207,42,186)40%,rgb(238,44,130)60%,rgb(251,105,98)80%,rgb(254,248,76)100%);--wp--preset--gradient--blush-light-purple:linear-gradient(135deg,rgb(255,206,236)0%,rgb(152,150,240)100%);--wp--preset--gradient--blush-bordeaux:linear-gradient(135deg,rgb(254,205,165)0%,rgb(254,45,45)50%,rgb(107,0,62)100%);--wp--preset--gradCSS-Tricks - Tips, Tricks, e Techniques em usar Cascading Style Sheets.ient--luminous-dusk:linear-gradient(135deg,rgb(255,203,112)0%,rgb(199,81,192)50%,rgb(65,88,208)100%);--wp--preset--gradient--pale-ocean:linear-gradient(135deg,rgb(255,245,203)0%,rgb(182,227,212)50%,rgb(51,167,181)100%);--wp--preset--gradient--electric-grass:linear-gradient(135deg,rgb(202,248,128)0%,rgb(113,206,126)100%);--wp--preset--gradient--midnight:linear-gradient(135deg,rgb(2,3,129)0%,rgb(40,116,252)100%);--wp--preset--font-size--small:13px;--wp--preset--font-size--medium:20px;--wp--preset--font-size--large:36px;--wp--preset--font-size--x-large:42px;--wp--preset--spacing--20:0.44rem;--wp--preset--spacing--30:0.67rem;--wp--preset--spacing--40:1rem;--wp--preset--spacing--50:1.5rem;--wp--preset--spacing--60:2.25rem;--wp--preset--spacing--70:3.38rem;--wp--preset--spacing--80:5.06rem;--wp--preset--shadow--natural:6px6px9pxrgba(0,0,0,0.2);--wp--preset--shadow--deep:12px12px50pxrgba(0,0,0,0.4);--wp--preset--shadow--sharp:6px6px0pxrgba(0,0,0,0.2);--wp--preset--shadow--outlined:6px6px0px-3pxrgba(255,255,255,1),6px6pxrgba(0,0,0,1);--wp--preset--shadow--crisp:6px6px0pxrgba(0,0,0,1);}:where(.is-layout-flex){gap:0.5em;}:where(.is-layout-grid){gap:0.5em;}body.is-layout-flex{display:flex;}.is-layout-flex{flex-wrap:wrap;align-items:center;}.is-layout-flex>:is(*,div){margin:0;}body.is-layout-grid{display:grid;}.is-layout-grid>:is(*,div){margin:0;}:where(.wp-block-columns.is-layout-flex){gap:2em;}:where(.wp-block-columns.is-layout-grid){gap:2em;}:where(.wp-block-post-template.is-layout-flex){gap:1.25em;}:where(.wp-block-post-template.is-layout-grid){gap:1.25em;}.has-black-color{color:var(--wp--preset--color--black)!important;}.has-cyan-bluish-gray-color{color:var(--wp--preset--color--cyan-bluish-gray)!important;}.has-white-color{color:var(--wp--preset--color--white)!important;}.has-pale-pink-color{color:var(--wp--preset--color--pale-pink)!important;}.has-vivid-red-color{color:var(--wp--preset--color--vivid-red)!important;}.has-luminous-vivid-orange-color{color:var(--wp--preset--color--luminous-vivid-orange)!important;}.has-luminous-vivid-amber-color{color:var(--wp--preset--color--luminous-vivid-amber)!important;}.has-light-green-cyan-color{color:var(--wp--preset--color--light-green-cyan)!important;}.has-vivid-green-cyan-color{color:var(--wp--preset--color--vivid-green-cyan)!important;}.has-pale-cyan-blue-color{color:var(--wp--preset--color--pale-cyan-blue)!important;}.has-vivid-cyan-blue-color{color:var(--wp--preset--color--vivid-cyan-blue)!important;}.has-vivid-purple-color{color:var(--wp--preset--color--vivid-purple)!important;}.has-black-background-color{background-color:var(--wp--preset--color--black)!important;}.has-cyan-bluish-gray-background-color{background-color:var(--wp--preset--color--cyan-bluish-gray)!important;}.has-white-background-color{background-color:var(--wp--preset--color--white)!important;}.has-pale-pink-background-color{background-color:var(--wp--preset--color--pale-pink)!important;}.has-vivid-red-background-color{background-color:var(--wp--preset--color--vivid-red)!important;}.has-luminous-vivid-orange-background-color{background-color:var(--wp--preset--color--luminous-vivid-orange)!important;}.has-luminous-vivid-amber-background-color{background-color:var(--wp--preset--color--luminous-vivid-amber)!important;}.has-light-green-cyan-background-color{background-color:var(--wp--preset--color--light-green-cyan)!important;}.has-vivid-green-cyan-background-color{background-color:var(--wp--preset--color--vivid-green-cyan)!important;}.has-pale-cyan-blue-background-color{background-color:var(--wp--preset--color--pale-cyan-blue)!important;}.has-vivid-cyan-blue-background-color{background-color:var(--wp--preset--color--vivid-cyan-blue)!important;}.has-vivid-purple-background-color{background-color:var(--wp--preset--color--vivid-purple)!important;}.has-black-border-color{border-color:var(--wp--preset--color--black)!important;}.has-cyan-bluish-gray-border-color{border-color:var(--wp--preset--color--cyan-bluish-gray)!important;}.has-white-border-color{border-color:var(--wp--preset--color--white)!important;}.has-pale-pink-border-color{border-color:var(--wp--preset--color--pale-pink)!important;}.has-vivid-red-border-color{border-color:var(--wp--preset--color--vivid-red)!important;}.has-luminous-vivid-orange-border-color{border-color:var(--wp--preset--color--luminous-vivid-orange)!important;}.has-luminous-vivid-amber-border-color{border-color:var(--wp--preset--color--luminous-vivid-amber)!important;}.has-light-green-cyan-border-color{border-color:var(--wp--preset--color--light-green-cyan)!important;}.has-vivid-green-cyan-border-color{border-color:var(--wp--preset--color--vivid-green-cyan)!important;}.has-pale-cyan-blue-border-color{border-color:var(--wp--preset--color--pale-cyan-blue)!important;}.has-vivid-cyan-blue-border-color{border-color:var(--wp--preset--color--vivid-cyan-blue)!important;}.has-vivid-purple-border-color{border-color:var(--wp--preset--color--vivid-purple)!important;}.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background:var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple)!important;}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background:var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan)!important;}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background:var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange)!important;}.has-luminous-vivid-orange-to-vivid-red-gradient-background{background:var(--wp--preset--gradient--luminous-CSS-Tricks - Tips, Tricks, e Techniques em usar Cascading Style Sheets.vivid-orange-to-vivid-red)!important;}.has-very-light-gray-to-cyan-bluish-gray-gradient-background{background:var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray)!important;}.has-cool-to-warm-spectrum-gradient-background{background:var(--wp--preset--gradient--cool-to-warm-spectrum)!important;}.has-blush-light-purple-gradient-background{background:var(--wp--preset--gradient--blush-light-purple)!important;}.has-blush-bordeaux-gradient-background{background:var(--wp--preset--gradient--blush-bordeaux)!important;}.has-luminous-dusk-gradient-background{background:var(--wp--preset--gradient--luminous-dusk)!important;}.has-pale-ocean-gradient-background{background:var(--wp--preset--gradient--pale-ocean)!important;}.has-electric-grass-gradient-background{background:var(--wp--preset--gradient--electric-grass)!important;}.has-midnight-gradient-background{background:var(--wp--preset--gradient--midnight)!important;}.has-small-font-size{font-size:var(--wp--preset--font-size--small)!important;}.has-medium-font-size{font-size:var(--wp--preset--font-size--medium)!important;}.has-large-font-size{font-size:var(--wp--preset--font-size--large)!important;}.has-x-large-font-size{font-size:var(--wp--preset--font-size--x-large)!important;}:where(.wp-block-post-template.is-layout-flex){gap:1.25em;}:where(.wp-block-post-template.is-layout-grid){gap:1.25em;}:where(.wp-block-columns.is-layout-flex){gap:2em;}:where(.wp-block-columns.is-layout-grid){gap:2em;}:root:where(.wp-block-pullquote){font-size:1.5em;line-height:1.6;}/**/ SkiptomaincontentCSS-Tricks ArticlesNotesLinksGuidesAlmanacShuffleSearchDirectlinktothearticleAnchoreum:ANewGameforLearningAnchorPositioninganchorpositioningresourceAnchoreum:ANewGameforLearningAnchorPositioningYou8217;veplayedFlexboxFroggybefore,right?OrmaybeGridGarden?They8217;rebothabsolutemustsforlearningthebasicsofmodernCSSlayoutusingFlexboxandCSSGrid.ThomasParkmadethoseandhe8217;sbackwithanothergame:Anchoreum.GeoffGrahamonNov12,2024PopularthismonthPoweredbyDigitalOceanArticleonOct29,2024Cometothelight-dark()SidedarkmodefunctionsUI/IXDesignSaraJoyArticleonOct29,2024TooltipBestPracticesdialogpopoversemanticsZellLiewArticleonNov14,2024UnleashthePowerofScroll-DrivenAnimationsanimationScrollDrivenAnimationGeoffGrahamArticleonNov8,2024The Different(and Modern)Waysto Toggle ContentdetailsdialogpopoverDanielSchwarzArticleonSep11,2024AnchorPositioningQuirksaccessibilityanchorpositioningpositioningJuanDiegoRodríguezArticleonNov5,2024FluidEverythingElseresponsiveRichardHubbardArticleonNov1,2024Web-Slinger.css:LikeWow.jsButWithCSS-yScrollAnimationsScrollDrivenAnimationLeeMeyerLinkonOct23,2024Clampit!VSCodeextensionclamptypographyGeoffGrahamArticleonNov6,2024PoppingCommentsWithCSSAnchorPositioningandView-DrivenAnimationsanchorpositioningScrollDrivenAnimationJuanDiegoRodríguezLinkonOct8,2024SmashingHourWithHeydonPickeringinterviewGeoffGrahamLatestArticlesDirectlinktothearticleTimBrown:FlexibleTypesettingisnowyours,forfreebooktypographyTimBrown:FlexibleTypesettingisnowyours,forfreeAnothertitlefromABookAparthasbeenre-releasedforfree.Thelatest?TimBrown8217;sFlexibleTypesetting.ImaynotbetheutmostexpertontypographyanditsbestpracticesbutIdorememberreadingthisbook(it8217;sstillontheshelfnexttome!)thinkingmaybe,justmaybe,ImightbeabletoholdaconversationaboutitwithRobinwhenIfinishedit.GeoffGrahamonNov11,2024DirectlinktothearticleThe Different(and Modern)Waysto Toggle ContentdetailsdialogpopoverThe Different(and Modern)Waysto Toggle ContentLet’sspendsometimelookingatdisclosures,theDialogAPI,thePopoverAPI,andmore.We’lllookattherighttimetouseeachonedependingonyourneeds.Modalornon-modal?JaScriptorpureHTML/CSS?Notsure?Don’tworry,we’llgointoallthat.DanielSchwarzonNov8,2024DirectlinktothearticlePoppingCommentsWithCSSAnchorPositioningandView-DrivenAnimationsanchorpositioningScrollDrivenAnimationPoppingCommentsWithCSSAnchorPositioningandView-DrivenAnimationsTheStateofCSS2024surveywrappedupandtheresultsareinteresting,asalways.Eventhougheachsectionis[…]JuanDiegoRodríguezonNov6,2024DirectlinktothearticleFluidEverythingElseresponsiveFluidEverythingElseWecanapplytheconceptoffluidtypographytoalmostanything.Thiswaywecanhealayoutthatfluidlychangeswiththesizeofitsparentcontainer.Fewuserswilleverseethetransition,buttheywillallappreciatetheresults.Honestly,theywill.RichardHubbardonNov5,2024KeepbrowsinginthearchivesQuickHitsIlikehowI8217;mhearinganimationsdistinguishedas8220;time-basedanimations8221;(orTBA)and8220;scroll-drivenanimations8221;(orSDA).Athird?Maybe8220;nigation-basedanimations8221;(orNBA,lol)formulti-petransitions?#November8,2024Itreallyfeelslikewe8217;vehitthetippingpointwhereWordPressgoesfromopen-sourcetoaprivateprojectwhencontributorsarebootedsimplyfordisreeing.#October17,2024Looksliketext-wrap:prettyhaslandedinSafariTP!BeeninChromesince117.Let8217;sseeifFirefoxfollowssuit.#October8,2024TabAtkins-BittnerleftacommentinourrecentnotesontheCSSMasonrythatthoroughly(andhelpfully)counterstheviewthatmasonrywouldbemorepowerfulasasub-featureofCSSGrid.#October2,2024MoreQuickHits→CollectionsClassicTricksTimelessCSSgemsArticleonOct6,2021ScrollAnimationChrisCoyierArticleonOct6,2021YellowFlashChrisCoyierArticleonOct6,2021Self-DrawingShapesChrisCoyierArticleonOct6,2021ScrollShadowsChrisCoyierArticleonMay20,2020EditableStyleBlocksChrisCoyierArticleonOct6,2021ScrollIndicatorChrisCoyierArticleonMar15,2020BorderTrianglesChrisCoyierArticleonOct3,2021PinScrollingtoBottomChrisCoyierArticleonJul5,2021InfiniteScrollingBackgroundImeChrisCoyierLatestCSSGuidesDivedeepintoCSSfeaturesandconceptsArticleonSep6,2024CSSSelectorsselectorsGeoffGrahamArticleonAug27,2024CSSLengthUnitscontainerunitsunitsGeoffGrahamArticleonSep26,2024CSSContainerQueriescontainer-queriesGeoffGrahamArticleonOct17,2024CascadeLayersGuidecascadelayersMiriamSuzanneSponsoredArticleonJan20,2022ACompleteBeginner8217;sGuidetonpmnpmJoshCollinsworthArticleonAug12,2024CSSFunctionsGuidefunctionsEricBaileyArticleonAug12,2024CSSGradientsGuideGeoffGrahamArticleonAug12,2024CSSMediaQueriesGuidemediaqueriesAndrésGalanteArticleonOct17,2024CSSCustomPropertiesGuidecustompropertiesChrisCoyierArticleonAug12,2024DarkModeinCSSGuidedarkmodeAdhuhamArticleonAug12,2024HTMLDataAttributesGuideattributeselectorsattributesdataattributesHTMLChrisCoyierFreshFromtheAlmanacProperties,selectors,rules,andfunctions!AlmanaconNov14,2024random().element{width:random(5rem,25rem,by5rem);}functionsrandomSunkanmiFafoworaAlmanaconOct22,2024@layer@layerreset,utilities,components,pes;cascadeRyanTrimbleAlmanaconOct22,2024@property@property--spacing{syntax:"";initial-value:20px;inherits:true;}@propertyJuanDiegoRodríguezAlmanaconOct1,2024@supports@supportsselector(:nth-child(1of.foo)){}@supportsaccessibilityJuanDiegoRodríguezAlmanaconOct9,2024@container@container(width>600px){}container-queriesJuanDiegoRodríguezAlmanaconSep19,2024animation.element{animation:pulse5sinfinite;}animationRyanTrimbleAlmanaconSep28,2024@position-try@position-try--my-position{position-area:topleft;}anchorpositioningpositionJuanDiegoRodríguezAlmanaconSep14,2024anchor().target{top:anchor(--my-anchorbottom);}anchorpositioningpositioningJuanDiegoRodríguezAlmanaconSep18,2024anchor-size().target{width:anchor-size(width);}anchorpositioningpositioningJuanDiegoRodríguezAlmanaconSep8,2024position-visibility.target{position-visibility:no-overflow;}anchorpositioningpositioningJuanDiegoRodríguezAlmanaconSep14,2024position-try-fallbacks.target{position-try-fallbacks:flip-inline,bottomleft;}anchorpositioningJuanDiegoRodríguezAlmanaconSep8,2024position-try-order.element{position-try-order:most-width;}anchorpositioningJuanDiegoRodríguezAlmanaconSep13,2024:validform:valid{outline:3pxdashedgreen;}formsRyanTrimbleAlmanaconSep13,2024:invalidform:invalid{outline:3pxdashedred;}formsRyanTrimbleAlmanaconSep8,2024position-area.target{position-area:bottomend;}anchorpositioningJuanDiegoRodríguezAlmanaconNov5,2024anchor-name.anchor{anchor-name:--my-anchor;}anchorpositioningGeoffGrahamCSS-TricksispoweredbyDigitalOcean.Keepuptodateonwebdevwithourhand-craftednewsletterDigitalOceanAboutDOCloudwaysLegalstuffGetfreecredit!CSS-TrCSS-Tricks - Tips, Tricks, e Techniques em usar Cascading Style Sheets.icksWriteforus!AdvertisewithusContactusSocialRSSFeedsCodePenMastodonBlueskyBacktoTopvarstyle=document.createElement('style');style.innerHTML='#teconsent{position:fixed;z-index:1000;bottom:0px;right:0;font-size:0px;height:33px;}';document.head.appendChild(style); document.body.className=document.body.className.replace('bbp-no-js','bbp-js');/**/window.addEventListener("load",()=>{constconsent=truste.cma.callApi("getGDPRConsentDecision","css-tricks.com");//GoogleAnalyticsandSegmentarefunctionalif(consent.consentDecision.includes(2)||(consent.source==='implied'&&truste.eu.bindMap.behiorManer!=='eu')){//GoogleAnalytics(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*newDate();a=s.createElement(o),m=s.getElementsByTName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','///analytics.js','ga');ga('create','UA--29','auto');if(typeofarticleYear!=="undefined"){ga('set','dimension1',articleYear);}if(typeofarticleAuthor!=="undefined"){ga('set','dimension2',articleAuthor);}if(typeofarticleType!=="undefined"){ga('set','dimension3',articleType);}ga('send','peview');//SegmentAnalytics!function(){varanalytics=window.analytics=window.analytics||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error("Segmentsnippetincludedtwice.");else{analytics.invoked=!0;analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","peview","identify","reset","group","track","ready","alias","debug","pe","once","off","on","addSourceMiddleware","addIntegrationMiddleware","setAnonymousId","addDestinationMiddleware"];analytics.factory=function(e){returnfunction(){vart=Array.prototype.slice.call(arguments);t.unshift(e);analytics.push(t);returnanalytics}};for(vare=0;e

Local:CSS-Tricks - Tips, Tricks, e Techniques em usar Cascading Style Sheets.Relatório

Se houver uma violação do site, clique em DenunciarRelatório

Informação recomendada

Site recomendado