René's URL Explorer Experiment


Title: CSS specificity/order problem · Issue #11 · ByteGrad/Professional-CSS-Course · GitHub

Open Graph Title: CSS specificity/order problem · Issue #11 · ByteGrad/Professional-CSS-Course

X Title: CSS specificity/order problem · Issue #11 · ByteGrad/Professional-CSS-Course

Description: Hi, I have encountred problem I am not able to solve. I have followed your first course of CSS and then experiment on it on topic of specificty and order of classes and figuring out what is being overriden and I encountered following beh...

Open Graph Description: Hi, I have encountred problem I am not able to solve. I have followed your first course of CSS and then experiment on it on topic of specificty and order of classes and figuring out what is being o...

X Description: Hi, I have encountred problem I am not able to solve. I have followed your first course of CSS and then experiment on it on topic of specificty and order of classes and figuring out what is being o...

Opengraph URL: https://github.com/ByteGrad/Professional-CSS-Course/issues/11

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"CSS specificity/order problem","articleBody":"Hi,\r\n\r\nI have encountred problem I am not able to solve.\r\nI have followed your first course of CSS and then experiment on it on topic of specificty and order of classes and figuring out what is being overriden and I encountered following behavior.\r\n\r\nI created circle class that just says circle should be red. But it always overrides the second class, where the white is defined. Both classes (even in DevTools) have specificity (0, 1, 0) and so order should matter now - but its not for me. Here is the code snippet\r\n\r\n/* HTML SNIPPET */\r\n\u003cdiv class=\"canvas__circle circle--white circle--red\"\u003e\u003c/div\u003e\r\n\u003cdiv class=\"canvas__circle circle--red circle--white\"\u003e\u003c/div\u003e\r\n\r\n/* STYLES SNIPPET */\r\n.canvas__circle {\r\n  height: 15px;\r\n  width: 15px;\r\n  border-radius: 50%;\r\n  position: absolute;\r\n  animation: fade-in 1s 1s backwards;\r\n}\r\n\r\n.circle--white {\r\n  background-color: #fff;\r\n}\r\nC:\\ProjectsFila\\_bytegrad\\SocialEditor\\index.html\r\n.circle--red {\r\n  background-color: rgb(255, 0, 0);\r\n}\r\n\r\nNo other styles are interfering there (red is only specified in circle--red in my project).\r\n\r\nDo you have any idea why I see such behavior? This is quite serious problem for me because I for example need to use in my react custom components \u003chtmlElement className = {\"myClassName \" + this.props.className }    but now I am not sure if the properties of custom styles will correctly override component default style.\r\n\r\n\r\nThank you in advance for any kind of help/advice.\r\n\r\nHave a great day!\r\nFilip","author":{"url":"https://github.com/FilipXSv","@type":"Person","name":"FilipXSv"},"datePublished":"2024-02-10T20:15:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/11/Professional-CSS-Course/issues/11"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:ab6d9d36-71d8-9f38-43a4-0b3cb0938331
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8FAA:6E5C4:B8A32F:FA36E0:6A5164B3
html-safe-nonce511f9351ef8079363082698aff9f85e522accaa19b45e518fb35f9ff491c58ec
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RkFBOjZFNUM0OkI4QTMyRjpGQTM2RTA6NkE1MTY0QjMiLCJ2aXNpdG9yX2lkIjoiNjQ2MDE3NDM3NzQzODc2NjI1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac6bf0ed0e029d43c08b7cf9c865e3fb164fc97c9c54389f1664419c509717385e
hovercard-subject-tagissue:2128701037
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ByteGrad/Professional-CSS-Course/11/issue_layout
twitter:imagehttps://opengraph.githubassets.com/15617b1fe74ce1e4ac70a8ff3ecce7d1d1f4ca5cac061f6c56e9841bf97b9134/ByteGrad/Professional-CSS-Course/issues/11
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/15617b1fe74ce1e4ac70a8ff3ecce7d1d1f4ca5cac061f6c56e9841bf97b9134/ByteGrad/Professional-CSS-Course/issues/11
og:image:altHi, I have encountred problem I am not able to solve. I have followed your first course of CSS and then experiment on it on topic of specificty and order of classes and figuring out what is being o...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameFilipXSv
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-preview
go-importgithub.com/ByteGrad/Professional-CSS-Course git https://github.com/ByteGrad/Professional-CSS-Course.git
octolytics-dimension-user_id82057865
octolytics-dimension-user_loginByteGrad
octolytics-dimension-repository_id367457475
octolytics-dimension-repository_nwoByteGrad/Professional-CSS-Course
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id367457475
octolytics-dimension-repository_network_root_nwoByteGrad/Professional-CSS-Course
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2eeb434949a926fad21064b4d395a54759f7a0b2
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/ByteGrad/Professional-CSS-Course/issues/11#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FByteGrad%2FProfessional-CSS-Course%2Fissues%2F11
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FByteGrad%2FProfessional-CSS-Course%2Fissues%2F11
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=ByteGrad%2FProfessional-CSS-Course
Reloadhttps://github.com/ByteGrad/Professional-CSS-Course/issues/11
Reloadhttps://github.com/ByteGrad/Professional-CSS-Course/issues/11
Reloadhttps://github.com/ByteGrad/Professional-CSS-Course/issues/11
ByteGrad https://github.com/ByteGrad
Professional-CSS-Coursehttps://github.com/ByteGrad/Professional-CSS-Course
Notifications https://github.com/login?return_to=%2FByteGrad%2FProfessional-CSS-Course
Fork 46 https://github.com/login?return_to=%2FByteGrad%2FProfessional-CSS-Course
Star 68 https://github.com/login?return_to=%2FByteGrad%2FProfessional-CSS-Course
Code https://github.com/ByteGrad/Professional-CSS-Course
Issues 5 https://github.com/ByteGrad/Professional-CSS-Course/issues
Pull requests 0 https://github.com/ByteGrad/Professional-CSS-Course/pulls
Actions https://github.com/ByteGrad/Professional-CSS-Course/actions
Projects https://github.com/ByteGrad/Professional-CSS-Course/projects
Security and quality 0 https://github.com/ByteGrad/Professional-CSS-Course/security
Insights https://github.com/ByteGrad/Professional-CSS-Course/pulse
Code https://github.com/ByteGrad/Professional-CSS-Course
Issues https://github.com/ByteGrad/Professional-CSS-Course/issues
Pull requests https://github.com/ByteGrad/Professional-CSS-Course/pulls
Actions https://github.com/ByteGrad/Professional-CSS-Course/actions
Projects https://github.com/ByteGrad/Professional-CSS-Course/projects
Security and quality https://github.com/ByteGrad/Professional-CSS-Course/security
Insights https://github.com/ByteGrad/Professional-CSS-Course/pulse
CSS specificity/order problemhttps://github.com/ByteGrad/Professional-CSS-Course/issues/11#top
https://github.com/FilipXSv
FilipXSvhttps://github.com/FilipXSv
on Feb 10, 2024https://github.com/ByteGrad/Professional-CSS-Course/issues/11#issue-2128701037
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.