Search

Nalezeno "Le Pen": 99

Converting Color Spaces in JavaScript


A challenge I faced in building an image "emojifier" was that I needed to change the color spaces of values obtained using getImageData() from RGB to HSL. I used arrays of emojis arranged by brightness and saturation, and they were HSL-based for the best matches of average pixel colors with...

Styling a Web Component


This confused me for a bit here so I'm writing it out while it's fresh in mind. Just because you're using a web component doesn't mean the styles of it are entirely isolated. You might have content within a web component that is styled normally along with the rest of your website. Like this: See...

Styling a Select Like It’s 2019


It's rather heartwarming to know you can style a <select> in a rather cross-browser friendly way that doesn't hurt accessibility. Kudos for documenting this Scott! See the Pen Styled <select&rt; by Chris Coyier (@chriscoyier) on CodePen. Direct Link to Article —...

Gradient Borders in CSS


Let's say you need a gradient border around an element. My mind goes like this: There is no simple obvious CSS API for this. I'll just make a wrapper element with a linear-gradient background, then an inner element will block out most of that background, except a thin line of padding around...

An Initial Implementation of clip-path: path();


One thing that has long surprised (and saddened) me is that the clip-path property, as awesome as it is, only takes a few values. The circle() and ellipse() functions are nice, but hiding overflows and rounding with border-radius generally helps there already. Perhaps the most useful value...

Reversing an Easing Curve


Let’s take a look at a carousel I worked on where items slide in and out of view with CSS animations. To get each item to slide in and out of view nicely I used a cubic-bezier for the animation-timing-function property, instead of using a standard easing keyword. See the Pen Carousel with reversed...

Samsung Notebook 9 Pen: konvertibilní hybrid s integrovaným stylusem


Samsung představil nové konvertibilní zařízení v podobě Notebook 9 Pen a jak název napovídá, oproti ostatním hybridním notebookům má něco navíc - integrované pero. Samsung Notebook 9 Pen je dostupný v 13palcové a 15palcové velikosti s dotykovými displeji, které podporují i stylus. Jedná se o

Creating an Animated Login Form for TouchID


I came across this amazing Dribbble shot by Jakub Reis a while back. It caught my eye and I knew that I just had to try recreating it in code. At that moment, I didn’t know how. I tried out a bunch of different things, and about a year later, I finally managed to make this demo. I learned a couple...

Google Labs Web Components


I think it's kinda cool to see Google dropping repos of interesting web components. It demonstrates the possibilities of cool new web features and allows them to ship them in a way that's compatible with entirely web standards. Here's one: <two-up> I wanted to give it a try, so I linked...

Scrolling Gradient


If you want a gradient that changes as you scroll down a very long page, you can create a gradient with a bunch of color stops, apply it to the body and it will do just that. But, what if you don't want a perfectly vertical gradient? Like you want just the top left corner to change color? Mike...

Building a Complex UI Animation in React, Simply


Let’s use React, styled-components, and react-flip-toolkit to make our own version of the animated navigation menu on the Stripe homepage. It's an impressive menu with some slick animation effects and the combination of these three tools can make it relatively easy to recreate. This is...

Drawing Images with CSS Gradients


What I mean by "CSS images" is images that are created using only HTML elements and CSS. They look as if they were SVGs drawn in Adobe Illustrator but they were made right in the browser. Some techniques I’ve seen used are tinkering with border radii, box shadows, and sometimes clip-path. You...

KURIOZITA: Lix Pen je nejmenší 3D tiskárna na světě, vyzkoušeli jsme ji


Když chcete mít na papíře přesnou grafiku, patrně ji vytisknete na tiskárně. Když chcete něco načrtnout a dát do toho kus sebe, vezmete tužku a vznikne náčrtek. Podobný vztah ve třech rozměrech mají 3D tiskárna a skečovací 3D pero Lix Pen. Je to jednoduchá pájka, která taví barevné plastové

Příští generace Surface Pen by mohla mít solární napájení


Nový patent přihlášený Microsoftem odhaluje snahy firmy o zlepšení svého Surface Pen – dotykového pera, které využívá u svých strojů z řady Surface. Stylus je doposud napájen baterií, podle patentu si ale firma pohrává s myšlenou solárního napájení. Informoval o tom web Windows

Custom List Number Styling


How about a classic CSS trick! This isn't even so tricky anymore, since CSS has counter-increment and counter-reset and such that is perfect for this. I just wanted to make sure you knew how it works and had some easy-to-copy examples at the ready. Let's say all you wanna do is style the dang...

Responsive Knockout Text With Looping Video


Here’s an idea! Let’s make an an HTML <video> play inside the shape of some letters. Like "Knockout Text" except instead of an image behind, it’s video. A live demo will explain more clearly: See the Pen basic pen by Giulio Mainardi (@mgiulio) on CodePen. A key objective here is to develop...

Animating Progress


Jonathan Snook on the complexity of animating the <progress> element. If you’re unfamiliar, that’s the element that spits out a bar chart-like visual that indicates a position between two values: This example has custom styles, but you get the point. Jonathan's post shows off a method...

Maďarská autorka bestsellerů Magda Szabóová se narodila před 100 lety


5. října 1917 se narodila Magda Szabóvá, spisovatelka a učitelka latiny, která napsala několik významných maďarských děl. Jedno z jejích posledních, Dveře, se stalo předlohou maďarsko-německému filmu Za zavřenými dveřmi, který v roce 2012 uvedl i festival v Karlových Varech.Další články...

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