Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8186667
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T02:17:25+00:00 2026-06-07T02:17:25+00:00

I have a piece of web software / web app which is predominantly javascript.

  • 0

I have a piece of web software / web app which is predominantly javascript. It uses extJS framework and considerable custom scripts. The global stylesheet, call it main.css, consists of extJS library styles and our own new styles and extJS style overrides. This is all compiled using SASS.

Now, I want to embed the app into a web page. This is being done without an embed wrapper, but actually running the app in the page, including using global styles.

The external content in the page (non-app) is custom design using Bootstrap CSS framework and some jquery elements along with some Bootstrap overrides and some custom styles.

We cannot load Bootstrap as the global CSS, since the styles are significantly different and independent of the app styles and therefore want to avoid clashes.

How may I call the syles for their relevant areas, ensuring we can also do things like version control/update the core frameworks – extJS, bootstrap, jquery etc. easily and avoid clashes between the global styles – effectively treating them as different silos?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T02:17:27+00:00Added an answer on June 7, 2026 at 2:17 am

    I may be misunderstanding a critical piece to this, but since you’re using SASS, could you simply use:

    #some-custom-area {
        @import "path/to/bootstrap-result.css";
    }
    

    That is, take the Bootstrap CSS framework and all the custom rules you’ve written for it (in whatever CSS files those land in after compilation) and import them into your global stylesheet… but wrapped in a #some-custom-area selector. When SASS compiles that, it’ll ensure all rules from the Bootstrap side are valid only within #some-custom-area.

    Is that viable?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this piece of code which is calling some functions in a web
I've have a client that is using a third party piece of web software.
I have a piece of software I have written that talks to a web
I have a piece of JavaScript code which creates (using D3.js) an svg element
I have a piece of javascript that uses Ajax and PHP to upload an
Hello everyone Masters Of Web Delevopment :) I have a piece of PHP script
I have the following piece of code in my web page. After the method
I have seen a piece of code in the web. function isMobile() { var
I have quite a complex piece of code (JQuery and HTML5 Web SQL) that
I have Spring web application. I would like to put some common piece of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.