Skip to content
This repository has been archived by the owner on Feb 26, 2018. It is now read-only.

New option to customize the css inside the addon component #123

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

New option to customize the css inside the addon component #123

wants to merge 3 commits into from

Conversation

daguilarm
Copy link

If we want to add a custom css to the input-group-addon:

<div class="input-group">
    <input type="text" name="example2">
    <span class="input-group-addon newCss1 newCss2">@domain.com</span>
</div>

Using something like this:

$input->afterAddon('@domain.com')->addAddonCss('newCss1')->addAddonCss('newCss2');

If we want to add a custom css to the input-group-addon:

<div class="input-group"><input type="text" name="example2"><span
class="input-group-addon newCss1 newCss2">@domain.com</span></div>

Using something like this:

$input->afterAddon('@domain.com')->addAddonCss('newCss1')->addAddonCss('
newCss2');
@coveralls
Copy link

coveralls commented Jan 16, 2017

Coverage Status

Coverage increased (+0.2%) to 91.071% when pulling 84064ce on daguilarm:master into f358440 on adamwathan:master.

@coveralls
Copy link

coveralls commented Jan 23, 2017

Coverage Status

Coverage increased (+0.2%) to 91.071% when pulling 252a83e on daguilarm:master into f358440 on adamwathan:master.

@coveralls
Copy link

coveralls commented Jan 23, 2017

Coverage Status

Coverage decreased (-1.6%) to 89.286% when pulling 3eeb7d1 on daguilarm:master into f358440 on adamwathan:master.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants