Search

Nalezeno "pre": 991

Multiple Background Clip


You know how you can have multiple backgrounds? body { background-image: url(image-one.jpg), url(image-two.jpg); } That's just background-image. You can set their position too, as you might expect. We'll shorthand it: body { background: url(image-one.jpg) no-repeat top right, ...

New CodePen Feature: Prefill Embeds


I've very excited to have this feature released for CodePen. It's very progressive enhancement friendly in the sense that you can take any <pre> block of HTML, CSS, and JavaScript (or any combination of them) and enhance it into an embed, meaning you can see the rendered output. It also...

Does it mutate?


This little site by Remy Sharp's makes it clear whether or not a JavaScript method changes the original array (aka mutates) or not. I was actually bitten by this the other day. I needed the last element from an array, so I remembered .pop() and used it. const arr = ["doe", "ray", "mee"]; const...

Using React Portals to Render Children Outside the DOM Hierarchy


Say we need to render a child element into a React application. Easy right? That child is mounted to the nearest DOM element and rendered inside of it as a result. render() { return ( <div> // Child to render inside of the div </div> ); } But! What if we want...

Algorithmic Layouts


Don't miss this video by Heydon that digs into CSS layouts. It's great how he combines fundamental knowledge, like the way elements flow, wrap, and can have margin with new layout methods like flexbox and grid (with specific examples). Of particular note is the clear demonstration of how flexbox...

Toggling Animations On and Off


A nicely detailed tutorial by Kirupa that gets into how you might provide a UI with persisted options that control whether animations run or not. The trick is custom properties that control the movement: body { --toggle: 0; --playState: "paused"; } Which are used within animations...

Regarding CSS’s Global Scope


html { font-family: Roboto, sans-serif; } With the except of some form elements, you've just set a font on every bit of text on a site! Nice! That's probably what you were trying to do, because of the probably hundreds of elements all over your site, setting that font-family every time would...

The Fragmented, But Evolving State of CSS-in-JS


TLDR: The CSS-in-JS community has converged on a consistent API. Not so long ago, a Facebook engineer compiled a list of the available CSS-in-JS methodologies. It wasn’t short: aphrodite, babel-plugin-css-in-js, babel-plugin-pre-style, bloody-react-styled, classy, csjs, css-constructor, css-light...

Gelato Festival – vzrušujúci deň pre celú rodinu v Designer Outlet Parndorf


Zažite podujatie výnimočného charakteru a navštívte 6. a 7. júla Gelato Festival. Tešte sa na extravagantné kreácie zo zmrzliny od tých najlepších výrobcov a nechajte sa prekvapiť vynikajúcimi druhmi. Od mesta k mestu sú zmrzlinári ich remeselná zručnosť stredobodom súťaže. Porota pozostáva...

Don’t Use The Placeholder Attribute


Eric Bailey takes a hardline position on <input placeholder>. You might be thinking, as I did: yeah, yeah I know the pitfalls. I'm capable of using placeholder responsibly. But when you look at all the negatives together: Can’t be automatically translated; Is oftentimes used in place of...

What the heck is "Script error?"


If you’ve done any work with the JavaScript onerror event before, you’ve probably come across the following: "Script error." “Script error” is what brows

Kúpele Sonnetherme – oddych pre celú rodinu


Celá rakúska oblasť Neusiedlersee je preslávená svojimi termálnymi kúpeľmi. Prirodzene sa tu nachádza veľké množstvo wellness rezortov. Kúpele Sonnentherme ležiaca východne od Lutzmannsburg sú z nich pravdepodobne najznámejšie. Čo tu nájdete? Niečo pre fanúšikov adrenalínu Zábavný vodný park...

React and autofocus


While I love ReactJS, I can say that I sometimes find interactions that were easy during the pre-ReactJS are annoyingly difficult or at least “indirect”.  One example is properly ensuring that a given <input> element gets focused when a button in a different component...

Pogo akumulátor pre raketu SLS vytlačený v 3D tlačiarni


Inžinieri z NASA 13. decembra 2017 úspešne otestovali raketový motor RS-25 pre vyvíjanú ťažko-tonážnu raketu SLS. Stalo sa tak vo Stennisově kozmickom stredisku v blízkosti Bay St. Louis v Mississippi. Test sprevádzala novinka v podobe jednej väčšej časti motoru vyrobenej v 3D tlačiarni. Táto...

Obchodovanie s doménami – aké sú možnosti zarábania?


Internet v posledných rokoch poskytuje množstvo spôsobov, ako investovať svoje peniaze a zarábať. Veľmi populárne sú investície do domén, kedy si obchodník vytipuje voľné domény so zaujímavým menom, o ktoré by v budúcnosti mohol byť záujem, následne danú doménu zaregistruje a uskutoční predaj....

Off Page SEO


Dôležité tipy pre Off Page SEO Off Page SEO slúži ako rovnocenný partner pre On Page SEO a obe tieto formy zabezpečujú kompletnú optimalizáciu vašej stránky pre vyhľadávače. Neodporúčam zanedbať ani jednu z nich, nakoľko by to mohlo viesť k negatívnym výsledkom. Off … Pokračovať v čítaní...

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace