D
D
DigitalHNE2015-10-03 23:38:18
css
DigitalHNE, 2015-10-03 23:38:18

How to implement button stretching depending on screen resolution?

Can you please tell me how to implement so that the buttons fill the entire available width evenly?
a46863e198c94bba9d6d707edfb94055.png

background-color: #1A292C;
  margin: 0;
  padding-left: 2.5%;
  padding-top: 0.75%;
  padding-bottom: 0.75%;
  font-family: 'Open Sans', sans-serif; 
  color: #FFFFFF;
  text-align: center;
  word-spacing: 100px; 
  box-shadow: 0.0em 0.2em 5px rgba(0,0,0,0.0);
  min-width: 1024px;

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Ivan Drozhzhin, 2015-10-03
@RotarYMonkeY

width: 100%

A
Alexander, 2015-10-04
@kentuck1213

Instead of min-width: 1024px;
max-width: 1024px
width:100%;

T
Tlito, 2015-10-04
@tlito

display:block;
width:50%;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question