Questions tagged as 'css'

1
answer

How to add a transition (fade-in) in this example?

I have a site that when you hover over the item there is a photo exchange. but this exchange is immediate. I would like to add a transition effect, type a hover transition 1s. it's possible? I am using mouseover and mouseout. I call this meth...
asked by 10.03.2017 / 23:53
2
answers

Hover an element and capture another tag

I need to make a hover in a paragraph and change the color of the link tag, how can I do this? p:hover a { color:red; } <a href="#">Título</a> <p>Passar o mouse troca a cor do link acima</p>...
asked by 07.03.2017 / 15:53
0
answers

MaterializeCSS and conflicts with jQuery

I'm having a problem here using the Materialize CSS and two versions of jQuery. I'm doing a onepage site, and I put the smooth scrolling effect (I got this site here >     
asked by 17.02.2017 / 01:23
0
answers

Installation of Design Material

I'm trying to make a project using Material Design I have NPM installed but, I'm not able to install. I enter the project folder and the terminal digit: npm install --save material-components-web The following messages appear: + mate...
asked by 10.03.2018 / 12:53
1
answer

Menu above the page

I put the position: fixed, and the site is up and down the menu, if I enter the position: relative the site is normal, but the menu does not scroll down: code:#header-bar{position:fixed;top:0;width:100%;background-color:white;padding:0px0;-w...
asked by 13.02.2017 / 23:37
2
answers

How to create a "template" for pages? [duplicate]

I'm new to site development, programming, etc., my beach is Design, but I'd like to know how you do when you need to repeat some layout on all pages of the site.    For example: I need to repeat this menu on every page of the site. I   I c...
asked by 07.02.2017 / 18:21
1
answer

Problem to diagram divs

Problem to diagram divs favorite I need to pass as green and pink divs down the dark and light blue, leaving a larger div next to all but I do not know how to work this in CSS. Can anyone help me? Below my html and css codes: #forma{...
asked by 13.02.2017 / 16:19
1
answer

Show image below div on hover

Good afternoon, I need to build an effect on a blog where when you hover over the pink div, it shows an image that is at the bottom of it. But I need to show this image only in the area where the lock is. The layout is this one here. The p...
asked by 01.03.2017 / 17:30
0
answers

Smooth transition from a Sticky menu

I created a sticky menu, it works perfectly, but the transition is not smooth, how do I add it? function stick() { if ($(this).scrollTop() > 140){ $('.header').addClass("sticky"); $('.logo').addClass("sticky"); $('.header-menu...
asked by 19.03.2017 / 00:20
1
answer

Monospace Font Consoles with Height 15px and Width 7px

I'm trying to figure out how I can have a font size that is always exactly 7 pixels wide and 15 high in all letters / charateres. I thought font-family: consolas; with font-size: 12.73px; was perfect but after testing more accur...
asked by 07.03.2017 / 10:30