Jump to content
php.lv forumi

divi background a tagam


laucinieks

Recommended Posts

Tātad ir a tags, vajag uztaisīt divus backgroundus -

1) uzliekot hover un .current klasei (background zila svītra kas, aizpilda visu apkārt backgroundai, kaut kas līdzīgs kā word'aa tas zīmulīts, ka iekrāso ap tekstu visu balto lauku, apmēram 1px radiusā ap teksta un zem teksta.

2) Uzlikt pie a:hover un a.current lai pievienojas ķeksis, sānā uz iekrāsotā teksta. Pirmo paveicu, bet otro, ja taisu ar diviem backroundiem, tas ķeksis, liekas, ka paliek zem zilās joslas.

L.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...