Search
Casino Token: Black Horse Finance (BLHF) Pre-sale started on 1st November 2020.
6.11.2020
PRESS RELEASE. Black Horse Finance (BLHF) is changing the way you play. Brought to you by the Black Horse Foundation, the BLHF will be the exclusive gaming token of some of the world’s leading gambling operators. Developed by an ambitious Casino lovers team, Black Horse Finance is...
Uniswap Dark (UNID) Next Generation Defi protocol with Ultimate Security Futures, Token Pre-Sale is Now Live
4.11.2020
PRESS RELEASE. Uniswap Dark is a uniswap fork that tackles impermanent and permanent loss. Our exchange provides a decentralized, peer-to-peer, and safe exchange platform with minimal fees and slippage to solve the problems. Usually, trading or swapping on Uniswap demands ERC-20 token to...
GIFS and prefers-reduced-motion
3.11.2020
The <picture> element has a trick it can do where it shows different image formats in different situations. If all you are interested in is formats for the sake of performance, maybe you’d do:
<picture<source srcset="img/waterfall.avif" type="image/avif"<source...
Yearnify Finance (YFY) Next Generation Decentralized Finance Project, Token Pre-sale is Now Live
1.11.2020
Disclaimer: The text below is a press release that was not written by Cryptonews.com.
Yearnify Finance is a community-centered DeFi-project, modeled to take the successful features of Yearn Finance (YFI), and improve upon them, we aim to bring the true value of yield farming finance accessible...
The $750 Million Pre-Halloween Bitcoin Options Expiry Has Started to Spook Traders
28.10.2020
Even though cryptocurrency traders have been exuberant over the price rise, a number of analysts are focused on the large bitcoin and ethereum options expiries set to end before Halloween. Data from Skew.com shows $750 million in Bitcoin options is set to expire and prices could get volatile....
Yearnify Finance (YFY) Next Generation Decentralized Finance Project, Token Pre-sale is Now Live
23.10.2020
PRESS RELEASE. Yearnify Finance is a community-centered DeFi-project, modeled to take the successful features of Yearn Finance (YFI), and improve upon them, we aim to bring the true value of yield farming finance accessible to all users, we offer the most secure and simple way to earn reliable...
Smarter Ways to Generate a Deep Nested HTML Structure
21.10.2020
Let’s say we want to have the following HTML structure:
<div class='boo'<div class='boo'<div class='boo'<div class='boo'<div class='boo'</div</div</div</div</div
That’s real a pain to write manually. And the reason why this post was born was being...
Pelosi Says It’s Tuesday or Bust if White House Wants a Pre-Election Stimulus Package: Report
18.10.2020
The Democratic House Speaker said if a deal isn't reached by Tuesday evening, a package won't be likely before Nov. 3
Full Bleed
15.10.2020
We’ve covered techniques before for when you want a full-width element within a constrained-width column, like an edge-to-edge image within a narrower column of text. There are loads of techniques.
Perhaps my favorite is this little utility class:
.full-width {
width: 100vw;
position:...
Netlify Edge Handlers
13.10.2020
Some very cool news from Netlify: Edge Handlers are in Early Access (request it here). I think these couple of lines of code do a great job in explaining what an Edge Handler is:
export function onRequest(event) {
console.log(`Incoming request for ${event.request.url}`);
...
Web Technologies and Syntax
24.9.2020
JavaScript has a (newish) feature called optional chaining. Say I have code like:
const name = Data.person.name;
If person happens to not exist on Data, I’m going to get a hard, show-stopping error. With optional chaining, I can write:
const name = Data.person?.name;
Now if person...
Pre-Caching Image with React Suspense
21.9.2020
Suspense is an exciting, upcoming feature of React that will enable developers to easily allow their components to delay rendering until they’re “ready,” leading to a much smoother user experience. “Ready,” in this context, can mean a number of things. For example, your data loading...
XSwap Started Yield Farming, The Highest APY Reaches 70,000%
21.9.2020
XSwap, a main products of Xfinance ecosystem, has launched Uniswap LP token liquidity mining. This is a fair version, 100% distributed to the community, with No team shares, No Pre-mine. Governed by the Xfinance community. In just a few hours, the funds in the pool are above to 5000ETH. The highest...
Weaved Webs
17.9.2020
There is a bit of an irony with Jamstack.
The concept is simple: you put pre-rendered, static files on web hosting (a CDN) designed to do that well. That’s it. If you need to do more, anything you do from there is done with client-side JavaScript, which is likely talking to serverless...
AVIF has landed
8.9.2020
Everybody is talking about AVIF today because of Jake’s blog post. As the say, I was today years old when I learned AVIF was a thing. But thanks to web technology being ahead of the game for once, we can already take advantage of it.
This will be easier if you’ve abstracted your...
Working with JavaScript Media Queries
7.9.2020
What’s the first thing that comes to mind when you think of media queries? Maybe something in a CSS file that looks like this:
body {
background-color: plum;
}
@media (min-width: 768px) {
body {
background-color: tomato;
}
}
CSS media queries are a core ingredient in any responsive...
Batman ovládl navigaci Waze. Natočili jsme ho v akci a je to docela legrace, podívejte se
5.9.2020
Using @property for CSS Custom Properties
3.9.2020
Una Kravetz digs into how Chrome now allows you to declare CSS custom properties directly from CSS with more information than just a string.
So rather than something like this:
html {
--stop: 50%;
}
…can be declared with more details like this:
@property --stop {
syntax:...
Excluding Emojis From Transparent Text Clipping
2.9.2020
CSS-Tricks has this pretty cool way of styling hovered links. By default, the text is a fairly common blue. But hover of the links, and they’re filled with a linear gradient.
😍
Pretty neat, right? And the trick isn’t all that complicated. On hover…
give the link a linear...
Copy the Browser’s Native Focus Styles
28.8.2020
Remy documented this the other day. Firefox supports a Highlight keyword and both Chrome and Safari support a -webkit-focus-ring-color keyword. So if you, for example, have removed focus from something and want to put it back in the same style as the browser default, or want to apply a focus style...