Questions tagged as 'css'

5
answers

How to create buttons to increase / decrease font?

I would like to implement accessibility features on the company website that I work with. I was able to implement the contrast button, but I'm having a hard time doing the increase / decrease and default font size. Testing new projects the...
asked by 08.12.2015 / 19:59
2
answers

What does the "/" in border-radius mean?

In CSS we have the attribute border-radius . Usually use the following forms: border-radius:10px; border-radius:10px 20px 20px 10px; But I came across the following code one of these days and until today I'm not understanding what...
asked by 01.12.2015 / 16:46
3
answers

What does this CSS code do?

This is looking at some snippets of code on the internet for a deeper learning of CSS, and I saw this code contained in a menu and would like to know what the functionality of it. .nav:before, .nav:after { content: " "; displa...
asked by 16.03.2016 / 18:42
1
answer

Div height 100% in auto div height?

I will try to be very explanatory. I have the structure of an ordinary website as you can see in the html below. E I want the height of the sidebar to increase according to the height of the next container. It can also be understood if I say tha...
asked by 29.01.2017 / 13:43
2
answers

Clustered id rendering speed vs class

Some time ago I saw some tests to render CSS rendering using id to be faster than rendering using class , due to the amount of id is often lower in the document in relation to the number of classes (one of the tests you can check in this ta...
asked by 17.11.2015 / 18:59
2
answers

How to do with CSS loader bar with animated background?

I've seen this element that actually works as a " loader " while the image is loading etc. And I tried to replicate it. Not the dynamics to function as a loader , but rather this effect of the passing line at the top. WhatIhavetocodesofaris...
asked by 30.11.2018 / 13:38
2
answers

How to remove bug from antialising lines generated in Firefox and IE?

I'm creating a border on my site, with background . It works perfectly in Chrome, but in Firefox and IE unwanted lines appear. I have already noticed that they are present in the CSS3 property of transform: scaleX (-1); in the Div effect I need...
asked by 06.03.2014 / 22:58
1
answer

How do the Outline of the buttons follow the curvature of the elements?

I know that outline is very important for usability and especially for the accessibility of the page, even here is a very interesting WebAIM article about it: link However, outline does not seem to match the border-radius...
asked by 18.10.2018 / 15:55
2
answers

Handle 1-pixel border to avoid double edge (1 + 1 pixel) with side-by-side elements

I have a grid created with a ul list whose inner elements at li contains a border. The idea is that when the elements are side by side the edges are manipulated so that there is only a single trace with 1 pixel instead of what happ...
asked by 13.01.2014 / 18:55
1
answer

Problem with printing HTML elements on the screen

I'm doing a software ( minigame ) that works with a deck. In the administrative panel of the same I need to view and consult the game deck. I perform a query in the database and, with the results returned, I print on the screen inside a ul...
asked by 09.01.2014 / 04:28