Part of that discussion was about job titles. If there was a ubiquitously accepted and used …
Getting Nowhere on Job Titles is a post from CSS-Tricks收起
I’ve been having the time of my life playing retro Nintendo64, NES, SNES, and Game Gear games since I discovered OpenEmu. I bought a few USB Nintendo 64 controllers and I’m like a kid again, even sharing that joy with my two young children. Using ROMs from cartridge-based games is easy but CD-based consoles, like […]
The post How to Play Sony Playstation Games on OpenEmu appeared first on David Walsh Blog.
A Bit on Buttons is a post from CSS-Tricks收起
If you've ever coded an animation that's longer than 10 seconds with dozens or even hundreds of choreographed elements, you know how challenging it can be to avoid the dreaded "wall of code". Worse yet, editing an animation that was built by someone else (or even yourself 2 months ago) can be nightmarish.
In these videos, I'll show you the techniques that the pros use keep their code clean, manageable, and easy to revise. Scripted animation provides you the opportunity …
Writing Smarter Animation Code is a post from CSS-Tricks收起
Hey y'all! Time for a quick Chronicle post where I get to touch on and link up some of the happenings around the site that I haven't gotten to elsewhere.
Technologically around here, there have been a few small-but-interesting changes.
Site search is and has been powered by Algolia the last few months. I started up writing some thoughts about that here, and it got long enough I figured I'd crack it off into it's own blog post, so look …
CSS-Tricks Chronicle XXXII is a post from CSS-Tricks收起
He does a great job of framing the "problem", exploring the history, and pointing to things that make this seem rather war-like, including one of my own!
As Cristiano …
Let There Be Peace on CSS is a post from CSS-Tricks收起
Monthly Web Development Update 10/2017: CSS Grid, CAA Pitfalls, And Image Optimization
Editor’s Note: Welcome to this month’s web development update. Anselm has summarized the most important happenings in the web community that have taken place over the past few weeks in one handy list for you. Enjoy!
As web developers, we’re working in a very diverse environment: We have countless options to specialize in, but it’s impossible to keep up with everything. This week I read an article from a developer who realized that even though he has been building stuff for the web for over seven years, sometimes he just doesn’t understand what’s going on: “I’m slamming my keyboard in frustration as another mysterious error appears in my build script,” he writes.The post Monthly Web Development Update 10/2017: CSS Grid, CAA Pitfalls, And Image Optimization appeared first on Smashing Magazine.收起
You can get pretty far in making a slider with just HTML and CSS
A "slider", as in, a bunch of boxes set in a row that you can navigate between. You know what a slider is. There are loads of features you may want in a slider. Just as one example, you might want the slider to be swiped or scrolled. Or, you might not want that, and to have the slider only respond to click or tappable buttons that navigate to slides. Or you might want both. Or you might want to …
You can get pretty far in making a slider with just HTML and CSS is a post from CSS-Tricks收起
(This is a sponsored post.)
When asked "Why Wufoo?" they say:
Because you’re busy and want your form up and running yesterday.
Wufoo is a form builder that not only makes it fast and easy to build a form so you really can get it up and running in just minutes, but also has all the power you need. What makes forms hard are things like preventing spam, adding logic, making them mobile friendly, and integrating what you collect …
Wufoo is a post from CSS-Tricks收起
Let me begin by saying that this is not yet another post about how you don't need jQuery. In case you haven't noticed, that's already been covered. Roughly 8 million times: I don't want anyone to stop using jQuery. Use it. Love it. Be happy to keep on coding with it! However, as I've moved […]
The post How I’m (Not) Using jQuery appeared first on Telerik Developer Network.收起
Don’t Let Your Brain Deceive You: Avoiding Bias In Your UX Feedback
You know that user feedback is crucial — after all, your users will decide whether your app succeeds or not — but how do you know whether users are being fair and objective in their feedback?
We can tell you: They won’t be. All of your users will be giving you biased feedback. They can’t help it.The post Don’t Let Your Brain Deceive You: Avoiding Bias In Your UX Feedback appeared first on Smashing Magazine.收起
Implementing A Service Worker For Single-Page App WordPress Sites
Enter service workers. Through service workers, all framework and application code to output the HTML view can be precached in the browser, thus speeding up both the first meaningful paint and the time to interact. In this article, I will share my experience with implementing service workers for PoP, an SPA website that runs on WordPress, with the goal of speeding up the loading time and providing offline-first capabilities.The post Implementing A Service Worker For Single-Page App WordPress Sites appeared first on Smashing Magazine.收起
Chrome 62 Beta: Network Quality Estimator API, OpenType variable fonts, and media capture from DOM elements
Unless otherwise noted, changes described below apply to the newest Chrome Beta channel release for Android, Chrome OS, Linux, Mac, and Windows.Network Quality Estimator APIThe Network Infomation API has been available in previous versions of Chrome, but has only provided theoretical network speeds given the type of a user's connection. In this release, the API has been expanded to provide developers with network performance metrics as experienced by the client. Using the API, a developer can inspect the current expected round trip time and throughput and be notified of performance changes. To simplify application logic, the API also summarizes measured network performance as the cellular connection type (e.g. 2G) most similar to it, even if the actual connection is WiFi or Ethernet. Using these network quality signals, developers can tailor content to network constraints. For example, on very slow connections, developers can serve a simplified version of the page to improve page load times. These signals will also soon be available as HTTP request headers and enabled via Client Hints.OpenType Variable FontsOpenType Font Variations bring new typographic capabilities to the web. Previously, one font file contained just a single instance of a font family, including only one weight (Regular, Bold, Black…) or one stretch (Normal, Condensed, Expanded…).Figure: Animated Amstelvar and Decovar variable font examples With variable fonts, responsive design on the web now extends to typography. OpenType Variations provide a continuous spectrum of stylistic variations while saving space and bandwidth, since they all load from a single compact font file. Stretch, style, and weight can be adjusted using the respective updated CSS properties which now allow numeric values. Fine tuning of variation axis parameters, such as weight or width, is possible using the font-variation-settings CSS property.Media Capture from DOM ElementsThe W3C Media Capture from DOM Elements API now allows sites to live-capture content in the form of a MediaStream directly from HTMLMediaElements (i.e. <video> and <audio>). By invoking the captureStream() method on HTMLMediaElements, streamed content can be recorded and sent remotely using WebRTC, processed with WebAudio, or manipulated in various other ways.Sorry! Your browser does not support the video element. View animationhere.Figure: A 3D rendering being live-captured and streamed to a peer connection using WebRTC.Other features in this releaseThe Payment Request API is now available on Chrome for iOS.PaymentRequest now supports different prices and line items per payment method with PaymentDetailsModifier.data.DOM interfaces are now supported for the <data> and <time> HTML elements to give developers a native, machine-readable way to store client-side content.The CSS color parser now supports 8- and 4-digit hex colors of the format #RRGGBBAA and #RGBA.Lookbehind assertions are now available in addition to lookaheads, so developers can use regular expressions to ensure that a pattern is or isn’t preceded by another, e.g. matching a dollar amount without capturing the dollar sign.A new WebVR Origin Trial is now available, enabling developers to experiment with building rich Virtual Reality experiences on the web.Following previous announcements, the “Not secure” warning will now be displayed when users enter data on an HTTP page, and on all HTTP pages visited in Incognito mode.The `tabindex` attribute now enables the on-screen keyboard on Chrome for Android to more easily navigate between the next and previous fields within a form, thanks to a contribution from Samsung.Developers can now use the s flag to enable dotAll mode in ECMAScript regular expressions, making “.” match any character, including line terminators.Uploading images on Chrome for Android has an improved user experience and multi-select support that triggers on any site that invokes <input type="file"> with an accept attribute specifying that only images are accepted.Apps using the MediaSource API can now more effectively customize their HTMLMediaElement.seekable range logic using the new Media Source Extensions APIs, setLiveSeekableRange and clearLiveSeekableRange.The new visibility:collapse CSS declaration now hides table rows while preserving their contribution to column widths, rather than treating it like visibility:hidden, which merely skips painting the rows.Media Source Extensions (MSE) now support FLAC, a lossless audio coding format, in ISO-BMFF.Protected media can now be played offline through EME on Chrome for Android.Chrome for Android now supports Widevine L1, allowing sites to play encrypted media in a secure way.Loosened restrictions on escape sequences in template literals unlock new use cases for template tags, such as LaTeX processing.In Android O, sites with notification permissions now appear as a Notification Channel in Android Settings under Chrome, affording users a simpler way to manage permissions.Deprecations and interoperability improvementsFollowing an update to native button appearance on macOS, the appearance of <input> buttons and the <button> element have been similarly changed, affecting the default values for the background-color, border, border-radius, and padding CSS properties.The ability to request permission to show notifications has been removed over HTTP connections and within cross-origin iframes, in line with our policy on restricting powerful features to only HTTPS. To increase accuracy and ensure that users receive content in the language they expect, base language is now added immediately after language+region when generating accept-language headers from language settings.To improve UX and browser consistency, transitional mouse events will now be dispatched, and hover states will now be updated more quickly after the intended layout has been modified. OfflineAudioContext now accepts a dictionary argument, in addition to the existing constructor that takes three separate arguments.In line with other browsers, the getStreamById method on RTCPeerConnection has now been removed. SharedWorker.workerStart has been removed, following its deprecation and removal from other major browsers.To better conform to spec, the default value of <ol>.start has been set to 1.Posted by Ben Greenstein and Tarun Bansal, The Network’s Watch收起
As streaming becomes our main entertainment source and vendors fight to create the best video format, it’s going to be more and more important that we detect device and browser video support before posting videos on our websites. We think less about audio but the same principle applies: detect whether or not a given audio format […]
Post-transpilation or what is the real face of your code
The post React Redux and Retrospectives appeared first on Telerik Developer Network.收起
Building A Large-Scale Design System: How A Design System Was Created For The U.S. Government (Case Study)
Editor's Note: We’ve been closely working with Maya on this article, and we’re happy to see the final result now being published on 18F. We highly encourage more teams to share the lessons they learned when building design systems or pattern libraries, and we’re always happy to support them in writing, editing and shaping that article. This post is a re-post of Maya’s final article.
Today, there are nearly 30,000 U.S. federal websites with almost no consistency between them. Between the hundreds of thousands of government employees working in technology, there’s nothing in common with how these websites are built or maintained.The post Building A Large-Scale Design System: How A Design System Was Created For The U.S. Government (Case Study) appeared first on Smashing Magazine.收起