Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CSS problem. Webkit kot.
28-09-2012, 10:00 PM,
Post: #1
CSS problem. Webkit kot.
Salam,

Mintak tolong. Saya ada gugel cmne nk buat button ala2 twitter. rupe nye gini...

[Image: Capture2.PNG]

css style nye gini...

Code:
.btn-custom {
  background-color: hsl(195, 60%, 35%) !important;
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#2d95b7", endColorstr="#23748e");
  background-image: -khtml-gradient(linear, left top, left bottom, from(#2d95b7), to(#23748e));
  background-image: -moz-linear-gradient(top, #2d95b7, #23748e);
  background-image: -ms-linear-gradient(top, #2d95b7, #23748e);
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #2d95b7), color-stop(100%, #23748e));
  background-image: -webkit-linear-gradient(top, #2d95b7, #23748e);
  background-image: -o-linear-gradient(top, #2d95b7, #23748e);
  background-image: linear-gradient(#2d95b7, #23748e);
  border-color: #23748e #23748e hsl(195, 60%, 32.5%);
  color: #fff !important;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.16);
  -webkit-font-smoothing: antialiased;
}

alih2, kt localhost jd gini..

[Image: Capture.PNG]

sbb ape ye xjadi? mungkin sbb webkit? webkit tu mende?

help guyzzz...
Trust, but verify - Ronald Reagan Challenge Accepted
Reply
28-09-2012, 10:21 PM,
Post: #2
RE: CSS problem. Webkit kot.
WebKit is a layout engine designed to allow web browsers to render web pages. WebKit underlies the Apple Safari and Google Chrome browsers.
puas sudah menanam ubi, nenas juga dibeli orang, puas sudah aku berbakti, pengganas juga dipandang orang

Quote:A true warrior need blood on his sword; A true pirate never afraid to sail the red sea.
Reply
28-09-2012, 10:25 PM,
Post: #3
RE: CSS problem. Webkit kot.
Mana mungkin webkit. Kalau kau nampak kat twitter style button begitu, maknanya kau akan nampak juga begitu pada browser kau. Maknanya kesalahan CSS.

Apa aku cakap ni .__.
Reply
28-09-2012, 10:31 PM,
Post: #4
RE: CSS problem. Webkit kot.
webkit untuk "Safari and Google Chrome" quoted from rempah,
mozilla pki moz apatah
mungkin hang bukak benda tu guna mozilla kot
[Image: jQXKs.png?1?8969]
Reply
28-09-2012, 11:13 PM, (This post was last modified: 28-09-2012, 11:14 PM by apitmanu.)
Post: #5
RE: CSS problem. Webkit kot.
(28-09-2012, 10:25 PM)amsama Wrote: Mana mungkin webkit. Kalau kau nampak kat twitter style button begitu, maknanya kau akan nampak juga begitu pada browser kau. Maknanya kesalahan CSS.

Apa aku cakap ni .__.

serius, aku da copy-paste sebijik2 dah.
refer ni... http://charliepark.org/bootstrap_buttons/

(28-09-2012, 10:31 PM)afnum Wrote: webkit untuk "Safari and Google Chrome" quoted from rempah,
mozilla pki moz apatah
mungkin hang bukak benda tu guna mozilla kot

nope. aku pakai chrome..
Trust, but verify - Ronald Reagan Challenge Accepted
Reply
28-09-2012, 11:22 PM, (This post was last modified: 28-09-2012, 11:24 PM by amsama.)
Post: #6
RE: CSS problem. Webkit kot.
Pseudo element css wiki.
CSS yang kau copy paste tu mungkin tak lengkap agaknya, border-radius dia pun takde, betul2 kotak tajam je. Kih3

Suggestion aku, pergi sini la http://tympanus.net/codrops/2012/01/11/c...-elements/ siap diajar seketul seketul mengenai css yang dibina.
Reply
30-09-2012, 03:10 PM,
Post: #7
RE: CSS problem. Webkit kot.
(28-09-2012, 11:22 PM)amsama Wrote: Pseudo element css wiki.
CSS yang kau copy paste tu mungkin tak lengkap agaknya, border-radius dia pun takde, betul2 kotak tajam je. Kih3

Suggestion aku, pergi sini la http://tympanus.net/codrops/2012/01/11/c...-elements/ siap diajar seketul seketul mengenai css yang dibina.

thank for the links.

tapi kan, anchor boleh hntar form ke?
Trust, but verify - Ronald Reagan Challenge Accepted
Reply
30-09-2012, 03:24 PM,
Post: #8
RE: CSS problem. Webkit kot.
(30-09-2012, 03:10 PM)apitmanu Wrote: thank for the links.

tapi kan, anchor boleh hntar form ke?

Boleh je.
Reply
30-09-2012, 04:25 PM,
Post: #9
RE: CSS problem. Webkit kot.
(30-09-2012, 03:24 PM)amsama Wrote:
(30-09-2012, 03:10 PM)apitmanu Wrote: thank for the links.

tapi kan, anchor boleh hntar form ke?

Boleh je.

okay, many-many thanks. ^^
Trust, but verify - Ronald Reagan Challenge Accepted
Reply


Forum Jump: