Questions tagged [css]
CSS, short for Cascading Style Sheets, is a language used to control the presentation of HTML and XHTML documents.
220
questions
2
votes
1
answer
908
views
Is it a good practice to mix filled and outline badges?
The theme I'm using for my website has two different badge versions: filled and outline (like the image below).
My question is:
Should I mix these styles at the same page/theme, or should I use only ...
1
vote
1
answer
56
views
Why does Google use `user-select: none;` on the text in their google meets web app?
Whenever I'm reading a webpage, I often double click text to orient myself on the page (and for something to do I guess).
I recently landed on https://meet.google.com/ after a meeting and was ...
0
votes
1
answer
67
views
Software that works like Google Chrome's "view page source"
I've only been using Google Chrome "CTRL+U" Tools to check my web design's responsiveness and edit styles or elements, however it started to get so freaking laggy which slows me down ...
1
vote
2
answers
94
views
How to do loading animations when at certain times the application is too fast for them?
I am facing a strange "catch-22" like problem, while developing an application for a mobile browser. My problem is that, some inner-app screens are fetching data from a back-end server, and ...
1
vote
2
answers
65
views
Studies of the impact visual design has on user engagement
My intuition is that well-designed sites are more pleasing for us to navigate, which means well-designed sites receive more user engagement.
Are there studies that test this hypothesis? A/B tests of ...
2
votes
1
answer
944
views
Using text-shadow for accessibility
I'm interested in understanding whether there has been any research or confirmed values for using the text-shadow property with the goal of meeting WCAG minimum colour contrast values.
In my ...
2
votes
1
answer
173
views
How do I know which measurement units to use for which elements in CSS?
My question why would I ever NOT use percentage for sizes? got some good feedback, some good comments and some good answers.
They told my why not to always use percentages, and even when certain ...
4
votes
1
answer
118
views
Who should manage CSS colour variables in a web project? Design or Front-End?
We're working on a multi-brand project where the site must switch between company branding.
To do this we have CSS colour variables in place switching between styles depending on what brand is using ...
2
votes
3
answers
95
views
Styling a hint for relative numerical value
Background:
I have a list of elements in a browser which each are a numerical distance away from the same origin point. I want to give a visual hint to quickly give a feeling for how far a list-item ...
0
votes
1
answer
79
views
How do I space or size HTML text so that blurriness is mininized? [closed]
The image below are examples of two different methods that the letter,"J" is rendered:
When rendering text, letters seem to be, "warped", or offset by a fraction of a pixel. This ...
1
vote
1
answer
418
views
Screen resolution stats and responsive design
I'm working on a new website and there's some debate regarding what width should be picked as maximum for the main, fixed-sized, grid (it won't be a 100% width layout). (Should it be 1100px? Should it ...
0
votes
1
answer
318
views
Is there a css @media query that can identify a landscape or portrait display? [closed]
I am trying to create a media query to identify if a screen is landscape or portrait so that I can change the CSS styling when a screen is rotated. Is this possible and how would i do it?
1
vote
2
answers
135
views
How is this UI called (multiple pages with settings, dots on bottom marks progress, usually after install of app)
On mobile phone when I install some app it shows few pages with basic settings, at the bottom are dots indicating progress, sometimes back/next button. How is this thing called? I want to find and try ...
3
votes
1
answer
265
views
How do I design a mobile table with multiple headers?
I have the following table design for PC.
How can I make it easier to see that "ddd", "eee", and "fff" are groups of "CCC" in mobile view?
【PC】
【MOBILE】
0
votes
2
answers
181
views
Web design practices to minimize browser refresh [closed]
The design of our website is such that whenever we make some changes in CSS & JavaScript files we require the user to clear the browser cache and get the latest version of these files from the ...
2
votes
1
answer
1k
views
(Accessibility) - Back button placement on the page in SPA
I am working with an SPA with Angular and the designs indicates that there is a back button and it is before the Page level heading usually the H1. For SPA, it is a general practice that we place the ...
1
vote
1
answer
62
views
How important is zooming in and out (cmd + , cmd - ) for websites (Desktop view) in terms of accessibility?
I am working on a website at the moment and someone else is in charge of the HTML/CSS side of things.
I've noticed it's not possible to zoom in and out with the browser function of cmd and + or -. The ...
15
votes
3
answers
3k
views
Make Optional Buttons More Clickable
I currently have a UI where I have three optional buttons. By clicking on a button, it will go to another user flow and the button is "completed". Unclicked buttons are considered "...
1
vote
1
answer
71
views
When making a website that is font-size responsive, are there any guidelines to what font-sizes authors blow text up to?
It seems an opinion whether or not, as web-developers, we should design websites taking into account the user increasing font-size (e.g. on Chrome: Chrome>Settings>Customise fonts). (Although it ...
-1
votes
1
answer
54
views
What design changes will improve visual appearance of the calculator [closed]
This is the HTML code for a very basic calculator. I am at beginner level on bootstrap and definitely beginner level designer. what are some changes i can do to make the visual appearance better. i ...
1
vote
2
answers
155
views
How do I convince my boss that too many link colors are bad for accessibility?
I work at a really small company making websites for a specific clientele, an older female audience.
My boss, also the lead Art Director, uses lots of different colors for links across an entire ...
1
vote
1
answer
108
views
Need opinion on this web design FOR UX/UI/CX - Beginner in designing [closed]
Hi, first of all, sorry if I'm posting in the wrong section. I want to get an opinion about the design of an event management system. I've google on UX example design but most only show for simple ...
1
vote
1
answer
39
views
Similar color groups for HTML
I start my adventure as a front end developer and I wonder about the easiest way to choose the color groups used in css for my projects. For example, I have a group of grayscale colors. How large ...
4
votes
2
answers
1k
views
How to deal with extra spacing with line-height when spacing between elements should be consistent
We want to design our website so that all elements are spaced 24px apart (paragraphs, form groups, header & content, etc.) and "related" elements (label & form field) are spaced 8px apart. We ...
0
votes
1
answer
116
views
Spacing out a Headline, body, and CTA button
Is there a standard on what is the better way to space out a Headline, body text, and button link?
Using a margin-bottom on the headline and body?
Or using a margin-top on the body and CTA button?
32
votes
4
answers
11k
views
Why rounding odd font sizes to even?
Today I started implementing a design that had some copy text with font size 17px. My fellow web developer told me that we should round that to 18px and more in general that we should not use odd font ...
0
votes
1
answer
384
views
Number incrementers and accessibility
How are number incrementing arrows for accessibility? I would think they would be bad for keyboard users, but is there any study to back that up?
0
votes
3
answers
232
views
In the holy grail layout of web design why is the navigation menu vertical and not horizontal?
i am a beginner with web design, while studying i came across the "holy grail layout" and i was just wondering why is it that the menu is vertically aligned while most modern websites tend to use a ...
2
votes
1
answer
268
views
Custom scrollbars in websites - do they make any sense?
Are custom scrollbars still needed today?
The only reason they were needed so far is because they are fugly on Windows. They are always visible and don't autohide and they just look bad. But I've see ...
3
votes
3
answers
813
views
Modal button positioning on mobile
I am designing a design system for my company and am currently looking at designing the modals and dialogues for both desktop(tablet too) and mobile.
I have placed the primary action to the bottom ...
2
votes
1
answer
126
views
Is there any reason not to change the style of web radio buttons and check boxes?
It's still very difficult to change the visual look of HTML radio buttons and checkboxes using CSS.
For example, changing the check box's border-color does nothing on major browsers.
Is there a UX ...
0
votes
1
answer
115
views
What is the best way to start designing this website? [closed]
I am new UI(ReactJS) Developer, I want to develop this webpage from scratch, however, I am not that experienced, hence, confused how to actually start. Should i start with logo or header or sidebar or ...
2
votes
0
answers
95
views
Different border-radius in different field. Is it a good practice? [closed]
Using different border-radius for different fields (e.g. textboxes, buttons, cards) to make the curves looks similar. Curves on the large field doesn't look similar to small fields.
Expected:
What'...
1
vote
2
answers
299
views
Is there a standard for indicating a high contrast style? [closed]
I am working on a web app and have developed both a normal stylesheet and a secondary high contrast stylesheet. I am coming unstuck when it comes to allowing a user to switch between styles.
Is ...
1
vote
1
answer
230
views
Should I use <aside> for off-canvas navigation? [closed]
I want to create an accessible off-canvas navigation and most tutorials say you should put it inside the <aside> element, however, since it is my main navigation which will appear on one line on ...
1
vote
3
answers
933
views
Techniques for handling opening a new tab and ensuring web accessibility with WCAG 3.2
WCAG 3.2 indicates that content should be provided in a predictable format and that subsequently when a new tab is opened on a click that the user is made aware of this.
I have a webpage with a list ...
0
votes
1
answer
90
views
Why can't I type directly into the HTML with FF Dev Tools? [closed]
Hopefully this question isn't too oddly specific. Let me know if it belongs on ProWebmasters instead...
I'm making some mock-ups in Photoshop, using screen shots from the site in its present state as ...
0
votes
1
answer
378
views
How to improve a scrollable dropdown section issue [closed]
I have an issue where the overflow of a scrollable list on a website is cutting off my dropdown menu. The scrollable list has a height constraint because it is in a modal which has a set height and ...
1
vote
3
answers
407
views
Ways to show a div has more content
I'm basically a back end devlopper but I need to create a page displaying data in diiferent tables.
Some of the data rows may contain very large content but I chosed to make all rows the same height. ...
0
votes
1
answer
103
views
Vice versa colors for on and off hover of buttons [closed]
How should we choose the color for buttons is there a should always be a dark and light colour or two differed colors. What will be the best strategy for choosing colours.
And is it should always be ...
1
vote
2
answers
501
views
Footer menu same as Menu
The links which are in the menu are replicated in the footer menu. Is placing same menu links in the footer redundant or is it a bad practice in web design or development?
2
votes
2
answers
220
views
Cursor usage in different application elements
I am working on an application that is mostly used by desktop users. So I am trying to perfect the use of the cursor css-rules.
First of all, I have read and tried to follow the practice of having ...
3
votes
2
answers
36k
views
Double Scroll Bar on Website [closed]
A website I am responsible for: www.livingsalads.co.uk has a double scrollbar on most browsers (chrome anyways). Which is obviously an issue as it looks bad and also browsers sometimes use the ...
5
votes
2
answers
825
views
Creating an accessible, animated, and responsive navigation system
I've been struggling for the past couple weeks to design the perfect navigation (menu) system for my personal website which I am designing.
First, I need a system that is completely accessible as I am ...
3
votes
2
answers
228
views
How do i design website mockups when i already have a css framework in mind?
Do I choose the CSS framework first before designing the website mockups? Or is it the opposite. What if I finish designing the mockups, but the css framework isn't a perfect fit ?. Should I first ...
0
votes
1
answer
101
views
When prototyping responsive web design, I have to consider how frontend dev. will do it: CSS Grid/Flexbox/Bootstrap?
My question context:
I have to design a responsive website, that is now poorly responsive on bootstrap. I would like to start drawing IA of interface elements and how they act on several screen widths ...
0
votes
2
answers
59
views
What is the best pattern for opening Mega Nav on touch device when parent Nav items are link to landing pages?
I have a mega menu opening on desktop, on hover over a parent nav strip. The parent nav items are links on click.
The same menu is to be used on landscape tablet. Without on hover, click is used to ...
0
votes
1
answer
174
views
UI element names and hierarchy for web SaaS B2B application [closed]
I´m building an ReactJS based library of web elements for a SaaS B2B application. I know this is common, but I´m having lots of difficulties choosing right names for my visual hierarchy. What I call ...
2
votes
3
answers
2k
views
Should entire checklist row be clickable or only checkbox and label?
In a form checklist, should whitespace beyond the label text be clickable? Or only the checkbox and label itself? Demo here.
choice
choice
choice
5
votes
2
answers
1k
views
File Browser Download
We provide a service to synchronize devices with our server.
Every device has a file browser which is accessible through HTTP.
Possible actions are: Download, Delete and Rename.
Delete and Rename ...