Questions tagged as 'css3'

2
answers

Using HTML5 tags as CSS3 selectors is a good practice?

Using HTML5 tags names like most CSS selectors is a good practice? Whether it's because I'm not creative to give names to ids or classes, or because I want to leave the HTML code as clean as possible, leaving only the structure and sema...
asked by 08.12.2016 / 16:38
1
answer

How to do an underline effect by controlling the size of the underline

How to make a title have an underscore, but can control the size of that underscore. Here is an example of what you want:     
asked by 14.12.2018 / 15:05
1
answer

Section with two colors

I'm having trouble making a section with two colors (one occupying 70% of the section and the other color the remaining 30%), I would like to know how I can do this follow the example: suggestions?     
asked by 23.10.2018 / 03:39
1
answer

Prevent Element Edge from Growing by Using Transform: Scale

It's a very simple question, but I did not find an answer ... I have an element that has a borda of 1px . But when I make a :hover on it I apply a transform:scale() but the width of the borda of it tb seems t...
asked by 22.11.2018 / 12:09
2
answers

Draw image using css

I would like to know if you would like to draw the image below using only css? Iwouldliketocreateabuttonlikethis     
asked by 28.07.2015 / 14:18
2
answers

Layout with div diagonal and responsive

I need to create a layout and make the divs diagonal and responsive (100%), as in the example below: ContentfrominsidehastostayhorizontalAnyideas?Suggestion? JSFiddle for editing     
asked by 20.07.2015 / 16:55
2
answers

Why does not my .svg work in Firefox?

My .svg is not loaded in Firefox, in chrome it works fine. I'm using css to do this, with the background: url('data:image/svg+xml...) property. I made a JSFiddle for example, containing all the code. Edit: I do not want to use base...
asked by 12.07.2018 / 15:31
1
answer

CSS responsive layout in columns

I'm making a layout that will have two columns, the first one on the left will compose a menu a second will occupy all the remaining space on the screen on the right side and it will stay in the content. In developing the css of these columns...
asked by 22.05.2014 / 01:45
3
answers

Why use float: left and display: inline at the same time?

I'm watching a tutorial, where the teacher at a certain point, minute 28 , sets the style of the elements of a ul to create a horizontal navigation bar , and do so using either float:left or display:inline . The problem is...
asked by 11.10.2014 / 15:07
1
answer

Ordered list with next element to the right when it does not fit

I am creating a menu where I will have several buttons. To align the buttons I use a simple ordered list. I want to know if there is any way that, when no more buttons fit within the maximum height of the submenu, they will jump to the right.  ...
asked by 16.10.2014 / 14:23