Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

input[type=submit] #6

Open
jgarte opened this issue Mar 24, 2022 · 2 comments
Open

input[type=submit] #6

jgarte opened this issue Mar 24, 2022 · 2 comments

Comments

@jgarte
Copy link

jgarte commented Mar 24, 2022

How would I write this style of css with cl-css?

I'm referring to the input[type=submit]

input[type=submit] {
    padding:5px 15px; 
    background:#ccc; 
    border:0 none;
    cursor:pointer;
    -webkit-border-radius: 5px;
    border-radius: 5px; 
}
@phoe
Copy link

phoe commented Mar 24, 2022

Seems like cl-css is not currently capable of generating attribute selectors. You might need to submit a PR for that.

@jgarte
Copy link
Author

jgarte commented Mar 25, 2022

@phoe This syntax that monomon shared in the matrix common lisp room worked for me ("input[type=submit]" ...)

I used it here.

It's currently commented out but it works.

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

No branches or pull requests

2 participants