Jump to content

Zmiana koloru i tekstu


Go to solution Solved by Leihto,

Recommended Posts

Posted (edited)

Tu masz kod do tego:

 

 

#search_wrap {
 
#search_wrap {

position: relative;

background: rgba(255, 255, 255, 0.66); // to jest ta przeźroczystość.

display: block;

padding: 0 26px 0 4px;

height: 26px;

line-height: 25px;

-moz-border-radius: 3px 4px 4px 3px;

-webkit-border-top-left-radius: 3px;

-webkit-border-top-right-radius: 4px;

-webkit-border-bottom-right-radius: 4px;

-webkit-border-bottom-left-radius: 3px;

border-radius: 3px 4px 4px 3px;

-webkit-box-shadow: 0px 2px 4px rgba(0,0,0,0.2);

-moz-box-shadow: 0px 2px 4px rgba(0,0,0,0.2);

box-shadow: 0px 2px 4px rgba(0,0,0,0.2);

min-width: 230px;

}
SS: 61499253314247027474.png

 


To kod na napisy:

 

 

#main_search {
 
#main_search {

font-size: 12px;

border: 0;

padding: 0;

background: transparent;

width: 130px;

outline: 0;

}
Edited by kajber
  • Solution
Posted (edited)

Jeśli chodzi Ci o kolor placeholdera, to CSS3 przychodzi z pomocą:

::-webkit-input-placeholder {
color: red;
}

:-moz-placeholder { /* Firefox 18- */
color: red;
}

::-moz-placeholder { /* Firefox 19+ */
color: red;
}

:-ms-input-placeholder {
color: red;
}
Edited by Leihto

Zapraszam na moje portfolio oraz bloga wojtusdev.pl

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.