Gradient borders

The border-image property can accomplish this. You’ll need to specify border-style and border-width too. border-image: linear-gradient(#f6b73c, #4d9f0c) 30; border-width: 4px; border-style: solid; Read more on MDN.

Bootstrap: align input with button

Twitter Bootstrap 4 In Twitter Bootstrap 4, inputs and buttons can be aligned using the input-group-prepend and input-group-append classes (see https://getbootstrap.com/docs/4.0/components/input-group/#button-addons) Group button on the left side (prepend) <div class=”input-group mb-3″> <div class=”input-group-prepend”> <button class=”btn btn-outline-secondary” type=”button”>Button</button> </div> <input type=”text” class=”form-control”> </div> Group button on the right side (append) <div class=”input-group mb-3″> <input type=”text” class=”form-control”> … Read more

How to override !important?

Overriding the !important modifier Simply add another CSS rule with !important, and give the selector a higher specificity (adding an additional tag, id or class to the selector) add a CSS rule with the same selector at a later point than the existing one (in a tie, the last one defined wins). Some examples with … Read more

Make the first character Uppercase in CSS

There’s a property for that: a.m_title { text-transform: capitalize; } If your links can contain multiple words and you only want the first letter of the first word to be uppercase, use :first-letter with a different transform instead (although it doesn’t really matter). Note that in order for :first-letter to work your a elements need … Read more

Use Font Awesome Icons in CSS

You can’t use text as a background image, but you can use the :before or :after pseudo classes to place a text character where you want it, without having to add all kinds of messy extra mark-up. Be sure to set position:relative on your actual text wrapper for the positioning to work. .mytextwithicon { position:relative; … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)