Questions tagged as 'css'

2
answers

How to focus on a specific DIV and blur the rest

Is there a Javascript / Jquery library of a target delimiting an area in a specific DIV and blurring the rest? Example I added a new item to the menu and as soon as I loaded the screen a focus on it and blurred the rest to be...
asked by 31.10.2018 / 19:04
1
answer

How to click on link open corresponding panel

When I click on a link in the footer of my page I'm trying to open the corresponding panel that points to a specific page, but I'm not getting it, I saw an example here but could not adapt. The following image illustrates my question: Th...
asked by 31.10.2018 / 15:20
2
answers

How do I display HTML and CSS elements in PHP in a specific access level

I'm doing a page, using PHP I've entered a level of access to it. Access levels are user and admin. But I want that when the level of access for admin appears a button and when it is user does not appear the same <?php session_start(); if($...
asked by 03.11.2018 / 03:01
1
answer

Keeping a list with alternate backgrounds when searching

I have a list with gray background in the item: nth-child (odd) but when I do a search is inserted a display none in the items that do not contain anything related and ends up messing the order of the colors, I need them to be rearranged accordi...
asked by 20.11.2018 / 02:59
1
answer

Responsive Diamond Grid

I'm trying to make a diamond grid but they do not get it for some reason, before it was an error and now it no longer has the error and it still does not work body{ margin: 0; padding: 0; background: #000; } .diamond-grid{...
asked by 27.10.2018 / 19:38
1
answer

How to Add My Slide Button

I started studying HTML and CSS now. But I need to make a slide and find a code ready, but I needed him to have those small round buttons down in the center. It's for mobile version. Would anyone know how I do it? <script type = "text/j...
asked by 25.10.2018 / 14:29
1
answer

How to change the displayed image in Desktop and Mobile versions of a website

I needed a picture in the desktop version of a website and in the mobile version another image. Since the counter would be on the desktop (as it already is) on the desktop and the mobile would show another image, and the counter below. The...
asked by 16.10.2018 / 22:03
1
answer

Sliding horizontal menu

I'm setting up an E-commerce where the main menu contains all major product categories. When the Admin registers many categories the menu gets broken into two lines. The customer requested that you keep all categories on one line and, if you...
asked by 15.10.2018 / 14:39
1
answer

Horizontal scrolling touch-screen menu (click and drag) on PCs

Based on the menu below, can you make it slider like on mobile phones (without having to use the scroll bar, just with click and drag)? ul.marcadores {white-space:nowrap; overflow-x:auto; background-color:#2D2D2D; width:300px} ul.marcador...
asked by 17.10.2018 / 22:41
1
answer

Hover in third div affect the first - Previous sibling element - with pure CSS

<div class="selelikes-wrap"> <div class="selelike"> <span><</span> </div> <div> <span>0</span> </div> <div class="seleunlike"> <span>></span> </div> I wan...
asked by 05.01.2019 / 00:52