Questions tagged as 'css3'

2
answers

Is there a css selector that selects elements through your text?

I want to add background to the row of a table where one of its columns is: Value 1 . I tried using pseudo-class contains and innerHTML but all to no avail. Code: table tr td [innerHTML="Valor 1"]{ background: red;...
asked by 27.03.2017 / 18:49
3
answers

Leave selected menu

I have a side menu and every time I click on an item to open a page, I would like it to be selected with a color. Menu.xhtml <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://xmlns.jcp.org/jsf/facelets" xmlns:h="http:...
asked by 20.05.2016 / 20:52
2
answers

@media screen not working correctly

I'm studying css and html yet, so I may be making some banal mistake, anyway I can not solve it myself. The problem is the following I defined in the @media screen a minimum width for it to change the img logo. Original Size Logo Code: .log...
asked by 21.08.2016 / 16:37
2
answers

What's the difference and when to use Flexbox or CSS Grid?

We first had Flexbox as a new solution for building responsive layouts. More precisely on the grids part. Now comes the CSS Grid . My question is: What's the difference between the two? When should I use 1 instead of the other? For building g...
asked by 24.05.2016 / 22:25
1
answer

Is it possible to select all elements with a certain class with CSS only?

I was checking the selectors, and I could not find a way to select all elements that have a certain class. I tried for example: select[form-control] { } Trying to get all selects with class .form-control of twitter-bootstra...
asked by 09.01.2016 / 00:02
2
answers

Horizontal scrollbar does not appear when using datatable

I have a screen where the data is shown in the following form: When accessing on smaller screens (cell phones, tablets), the datatable appears cut, however the horizontal scroll bar does not appear, so the user can not see the other hal...
asked by 22.01.2016 / 11:15
2
answers

z-index does not work in link

I'm having a problem creating a% masks% and a link to disable this masquerade. In another layout that I had worked normally, now that I'm making the switch it stopped working. I have the following code: <div class="mascara" style="display:...
asked by 11.08.2016 / 18:28
1
answer

CSS Problem with borders and placement of list elements

I'm doing a TAB component in HTML + CSS, and I have a question regarding css, the code I have is: @import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400,700"); .tabs { font-family: "Open Sans", sans-serif; width: 222...
asked by 14.11.2018 / 09:55
1
answer

CSS3 animation does not run when loading page

I have the following code: body{margin:0; padding:0; font-family: Verdana, Arial, sans-serif;} aside{ width: 200px; background-color:#F0F0F0; } ul{ display:block; list-style:none; margin:0; padding:0; }...
asked by 20.05.2015 / 16:31
1
answer

:: before is not displayed in img

I created a sort of lazyload (preloading images) in JavaScript with the scroll event where some images only load when they enter the visible area of the window. For this I created a generic image of 1x1 transparent pixel ( dt.png )...
asked by 29.09.2018 / 20:36