Thinking on ways to solve BUTTONS

  Рет қаралды 42,775

Chrome for Developers

Chrome for Developers

Күн бұрын

Пікірлер: 80
@abdusco
@abdusco 2 жыл бұрын
I really love the content, but the lack of contrast in the code color scheme is ironic, considering that he focuses so much on accessibility.
@evolopterus
@evolopterus 2 жыл бұрын
Agreed. Could not make out the CSS code on my monitor in a brightly lit room.
@tech3425
@tech3425 Жыл бұрын
I started to think this is some new CSS preprocessor 😂
@delulu6969
@delulu6969 2 жыл бұрын
Slowly you're making a UI lib. Waiting to npm install @argyleink/gui
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
i'm totally making a storybook for everything and will try and make them a unified and easy to use library!
@delulu6969
@delulu6969 2 жыл бұрын
@@AdamArgyleInk Uh oh, I was just joking.XD If that's the case, it would be triple awesome! Every GUI video, there will always be some UX/a11y gems you show that many devs overlook. I'm loving it!
@leeboyin945
@leeboyin945 2 жыл бұрын
add me to the waiting list 🙏
@MrQuickLine
@MrQuickLine 2 жыл бұрын
Hey Adam - for what it's worth (perhaps not much?) the WCAG success criterion 1.4.3 states that " Text or images of text that are part of an inactive user interface component... have no contrast requirement." So it's definitely nice that your Disabled button has color contrast, but it definitely isn't a requirement. I only mention this because you said "It's so often I'll see a disabled button that doesn't have proper contrast ratio," and that's okay because they don't have to.
@JawsoneJason
@JawsoneJason 2 жыл бұрын
In fact, it can be confusing if the button looks TOO much like a regular button, because there is no response to the click or press.
@MrQuickLine
@MrQuickLine 2 жыл бұрын
@@JawsoneJason maybe, but the cursor did change to not-allowed
@JawsoneJason
@JawsoneJason 2 жыл бұрын
Unfortunately, keyboard/assistive-tech users will be without any affordance, since there is no focusability.
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
@@JawsoneJason i def could see a keyboard user being confused, but a screen reader clearly indicates the button is disabled to the user. good point though that a focus state for a disabled button has micro ux opportunity to provide better feedback in that case, thanks! have suggestions before I go design around that state?
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
oh, was just testing and disabled buttons arent even keyboard focusable, guess I dont need to design the state as it's unreachability via keyboard doesnt need a visual?
@Yaxqb
@Yaxqb 2 жыл бұрын
This inspires me to use css properties more👍 I've never thought of the abstraction capabilities of css props before
@leeboyin945
@leeboyin945 2 жыл бұрын
This episode actually talks more on CSS custom properties than button, which is still very informative, thanks : P
@UliTroyo
@UliTroyo 2 жыл бұрын
I didn't know the :where() selector was ready! And for a while, it seems. All these little things that I forget exist.
@DarrenbyDesign
@DarrenbyDesign 2 жыл бұрын
This makes me love vanilla CSS again!
@ruhollahh01
@ruhollahh01 2 жыл бұрын
How is he getting all the browsers in one place for debugging? Also really love these GUI challenges, thanks a lot adam!
@tech3425
@tech3425 Жыл бұрын
I'd like a tool like that too
@predaytor
@predaytor Жыл бұрын
I can't get over how good your videos are! I wanna be like you someday! I would.
@somedev1553
@somedev1553 2 жыл бұрын
The disabled button only works because it has disabled text in it. It kinda looks the same as the other buttons.
@StephanBijzitter
@StephanBijzitter 2 жыл бұрын
Either you forgot to publish your blogpost, or the link in the description is wrong :-) Love the video though
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
will be ready in an hour or so when the build publishes! sorry about that!
@TheCRibe
@TheCRibe 2 жыл бұрын
What do you use to display all the different browsers in one screen. Looks slick ! Also love the button design and code pattern, great job!
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
nothing special, i just have them all installed and setup!
@TheCRibe
@TheCRibe 2 жыл бұрын
@@AdamArgyleInk haha I was assuming a complex app setup. A pre positioned desktop works great I guess :D
@PatricioHondagneuRoig
@PatricioHondagneuRoig 2 жыл бұрын
This is amazing. Thanks for sharing Adam!
@AssemblyWizard
@AssemblyWizard 2 жыл бұрын
Wow, I'm blown away!
@tikeswarnaik827
@tikeswarnaik827 2 жыл бұрын
Please make next video on INPUT
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
def on the list!
@brentmcd12
@brentmcd12 2 жыл бұрын
this is really interesting ! redesign the web with custom code from the order and layout , . I wish Facebook would fix there Dark Mode Missing feature that has been removed on Android 11 for Chromebook
@BehruzbekOtayev
@BehruzbekOtayev 2 жыл бұрын
Always the best content
@i3looi2
@i3looi2 2 жыл бұрын
for the weird space.. just add a `border-right: 5px solid #black` on the button.
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
oh interesting, i'll try!
@sabuein
@sabuein 2 жыл бұрын
Thank you so much.
@RobinLinus
@RobinLinus 2 жыл бұрын
fresh!
@fraollemecha
@fraollemecha 2 жыл бұрын
Nice buttons!!
@whatthefunction9140
@whatthefunction9140 2 жыл бұрын
masterful
@technikhil314
@technikhil314 2 жыл бұрын
@Adam Argyle what tool do you use to do cross browser testing?
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
no tools, actual installed browsers. this way i get full access to devtools and there's nothing in the middle to prevent me from inspecting what I need to
@Chrosam
@Chrosam 2 жыл бұрын
So you're a web dev ? Style every button.
@PavlosVinieratos
@PavlosVinieratos 2 жыл бұрын
how is your mouse pointer looking so smooth? are you doing some video editing on it?
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
i apply a light amount of motion blur when exporting
@optimator
@optimator 2 жыл бұрын
Which text editor do you use?
@Trazynn
@Trazynn 2 жыл бұрын
I'm struggling with hexagons. Hexagons are hard.
@delulu6969
@delulu6969 2 жыл бұрын
1. canvas + paint(). 2. SVG 3. clip-path: polygon() 4. ::before {border-right} ::after{border-left}
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
@@delulu6969 nice thinking on ways to solve hexagons! i do like this idea too tho, would make a great short maybe. thanks for the idea and sharing your struggle with us
@delulu6969
@delulu6969 2 жыл бұрын
@@AdamArgyleInk OMG YAAAS. And with border + border-radius too. I was just listing the stuff I have experimented with. 1. canvas is the best but also kind of complicated if you want some border-radius. Like you have to position 2 points on an imaginary circle to work with bezier curve. Thanks God I'm familiar with Illustrator. 2. The SVG one could work with 3 SVGs and the middle one is preserveAspectRatio=none. I used inline SVGs so I added overflow: visible to hack around the stroke clipping at the viewBox rather than expanding the viewBox or using some tranform=scale() 3. You can make a pseudo-border with clip-path with a pseudo element offset by 1px. But you can't have box-shadow/drop-shadow() unless you wrap it and put the filter on the parent. I have read on using SVG filter to turn anything to gooey effect, that could work with a wrapper too (or 2 pseudoelements). 4. Using pseudoelements to create triangles with the border inline-end/start solid + border block transparent for each side is the easiest if border and border-radius is not in the design. You could transform the pseudoelement boxes to overlap and look like triangles too but ymmv. Bonus point if you can add some long shadow XD
@charliestein9350
@charliestein9350 2 жыл бұрын
Thinking on ways to solve the web
@joshlalonde5480
@joshlalonde5480 2 жыл бұрын
Can you get the "no file chosen" text to push to the right on safari if you do "⠀⠀⠀no file chosen"? :P
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
maybe! i could try it
@aram5642
@aram5642 2 жыл бұрын
The author of this IDE theme didn't really care about contrast. ;-)
@Matojeje
@Matojeje 2 жыл бұрын
The Read along link in the description doesn't work :c
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
comin in hot!
@whatthefunction9140
@whatthefunction9140 2 жыл бұрын
How did you get the view with all the browsers on one page?
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
2nd display and installations or emulations positioned onto it
@chobikun
@chobikun 2 жыл бұрын
Now I have that pussycat dolls song in my head now
@shinobi77
@shinobi77 2 жыл бұрын
What is the --_ nameing convention?
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
from Lea Verou here lea.verou.me/2021/10/custom-properties-with-defaults/
@minato_i
@minato_i 2 жыл бұрын
bro, where to get that fancy font you are using in your text editor? if anyone knows please tell me.
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
Dank Mono 👍🏻
@shinobi77
@shinobi77 2 жыл бұрын
What is the font you're using?
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
Dank Mono
@yashrajchhabra1992
@yashrajchhabra1992 2 жыл бұрын
Whats the chrome extension he uses at 4:38 ?
@aarona171
@aarona171 2 жыл бұрын
VisBug
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
a.nerdy.dev/gimme-visbug
@JoshuaDeGagne
@JoshuaDeGagne 2 жыл бұрын
Anyone know what font he's using in his editor?
@runtimerebel
@runtimerebel 2 жыл бұрын
It's Dank Mono
@lixeletto
@lixeletto 2 жыл бұрын
Adam, i think the read along link is broken, its giving me 404
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
sorry about that, will be ready in less than an hour!
@jsinnaour
@jsinnaour 2 жыл бұрын
Interesting..
@stasantokhi128
@stasantokhi128 2 жыл бұрын
The article does not exists
@AdamArgyleInk
@AdamArgyleInk 2 жыл бұрын
will shortly!
@bernardoencina6824
@bernardoencina6824 2 жыл бұрын
Gael
@bernardoencina6824
@bernardoencina6824 2 жыл бұрын
Hu gastar en la jan
@bernardoencina6824
@bernardoencina6824 2 жыл бұрын
Guo
@MaksymMinenko
@MaksymMinenko 2 жыл бұрын
What's the point of this video? You're just feeding us a bunch of code. One would learn more just looking into css frameworks' (like Bootstrap) source code...
Thinking on ways to solve DIALOG
16:07
Chrome for Developers
Рет қаралды 39 М.
Using CSS custom properties like this is a waste
16:12
Kevin Powell
Рет қаралды 173 М.
小路飞嫁祸姐姐搞破坏 #路飞#海贼王
00:45
路飞与唐舞桐
Рет қаралды 27 МЛН
Running With Bigger And Bigger Lunchlys
00:18
MrBeast
Рет қаралды 126 МЛН
Incredible: Teacher builds airplane to teach kids behavior! #shorts
00:32
Fabiosa Stories
Рет қаралды 12 МЛН
Un coup venu de l’espace 😂😂😂
00:19
Nicocapone
Рет қаралды 5 МЛН
Thinking on ways to solve COLOR SCHEMES
12:21
Chrome for Developers
Рет қаралды 20 М.
5 JavaScript Concepts You HAVE TO KNOW
9:38
James Q Quick
Рет қаралды 1,4 МЛН
Thinking on ways to solve TRANSITIONS
21:22
Chrome for Developers
Рет қаралды 17 М.
Thinking on ways to solve TOOLTIPS
20:41
Chrome for Developers
Рет қаралды 19 М.
Thinking on ways to solve FABs
14:30
Chrome for Developers
Рет қаралды 13 М.
Make Awesome SVG Animations with CSS // 7 Useful Techniques
12:20
Flexbox or grid - How to decide?
18:51
Kevin Powell
Рет қаралды 731 М.
10 modern layouts in 1 line of CSS
21:39
Chrome for Developers
Рет қаралды 1,1 МЛН
Thinking on ways to solve CAROUSELS
27:23
Chrome for Developers
Рет қаралды 24 М.
Can I Run Youtube Entirely From My Terminal? (No Browser)
15:31
小路飞嫁祸姐姐搞破坏 #路飞#海贼王
00:45
路飞与唐舞桐
Рет қаралды 27 МЛН