Questions tagged as 'css'

1
answer

What's the difference and when to use @mixin and @extend in SASS?

Both @mixin and @extend seem to have the same goal:    Add a block of default code for a class. But if they have this same purpose, what is the difference between them? And when should I use one or the other?     
asked by 05.04.2016 / 16:25
2
answers

Distribute li list in 3 columns

I'm trying to create a list with 5 blocks, 4 230X140px and 1 of 250X280px, but they are not aligned side-by-side correctly, they look like this: Iwouldlikeittolooklikethis: codes: HTML <ul> <li class="tile-high">0</...
asked by 04.12.2014 / 18:48
2
answers

When to use In or%?

I'm studying responsive layout and I already know that to create a flexible part you need to use relative measure like In and%. But I still can not understand what the real difference between one and another ... ... and if it is possible to a...
asked by 01.12.2014 / 18:41
2
answers

Font color in placeholder [duplicate]

I have a form with the following HTML: <div class="cont960 trabalheConosco"> <form> <input type="text" placeholder="nome*" /> <input type="text" placeholder="e-mail*" /> <input type="tex...
asked by 09.12.2014 / 16:28
2
answers

I can not accommodate three images online

I'm trying to leave three images per line on a page, set this in the body of the page: <div class="produtos-ponta"> <div class="produtos-conteudo-ponta one-fourth-ponta"><img class="photo" src="imagens-ponta/amster...
asked by 17.07.2015 / 22:43
2
answers

CSS content property generating an image

I was looking at a class of a Wordpress template and saw that it created an image of a facebook logo using CSS content with a string of characters. The snippet that generates the image is as follows: .cmsms-icon-facebook-circled-1:before {...
asked by 21.04.2015 / 22:06
2
answers

How do I set an image in the background of the page?

I'm trying to run my project with a background image as follows: The image is in the path: webapp / resources / libimagens / bg.png The CSS file is in the path: webapp / resources / libcss / style.css Within the body{} tag...
asked by 02.10.2015 / 06:01
1
answer

How to narrow the spaces between the edges of a table in html?

I have a table and would like to remove the spaces between the borders! How can I do this? <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title&...
asked by 20.09.2015 / 20:38
2
answers

Make circle with text in center asp.net

I would like to know how to make a circle with a text in the center in asp.net, follow the image of the expected result.     
asked by 31.07.2015 / 19:45
1
answer

How to position two selects within the same div?

I need to put two selects within the same div , one aligned to the left, and the other to the right. I've tried using CSS to create a class to apply to every select , but it did not work: select.left { text-align: left;...
asked by 30.07.2015 / 02:54